# Learn

**URL:** https://discourse.elm-lang.org/c/learn/6.md?page=6

[Latest](https://discourse.elm-lang.org/latest.md) · [Categories](https://discourse.elm-lang.org/categories.md)

**Page:** 7

---

## [What sins make my first Elm app non-reactive?](https://discourse.elm-lang.org/t/what-sins-make-my-first-elm-app-non-reactive/9281)

<div class="topic-metadata">

**Author:** [@Ron](https://discourse.elm-lang.org/u/Ron)\
**Replies:** 4\
**Last updated:** [August 24, 2023, 1:47am UTC](https://discourse.elm-lang.org/t/what-sins-make-my-first-elm-app-non-reactive/9281 "2023-08-24T01:47:53Z")

</div>

My sign-up mini app is not reactive. Things flow in one-way only - so (I maybe wrong) my app is not reactive. I am a Python programmer and never touched F\[R\]P before. I read till Forms · An Introduction to Elm and wante…

---

## [Remove unused modules across project](https://discourse.elm-lang.org/t/remove-unused-modules-across-project/9278)

<div class="topic-metadata">

**Author:** [@Birowsky](https://discourse.elm-lang.org/u/Birowsky)\
**Replies:** 7\
**Last updated:** [August 22, 2023, 3:27pm UTC](https://discourse.elm-lang.org/t/remove-unused-modules-across-project/9278 "2023-08-22T15:27:54Z")

</div>

Hey folks, my goal is to remove all modules which are not referenced starting from the entry module. There are thousands of modules in this project, and manual labor is not a viable option. Does elm-review or anything e…

---

## [Semver enforcement](https://discourse.elm-lang.org/t/semver-enforcement/9263)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.elm-lang.org/u/ShalokShalom)\
**Replies:** 14\
**Last updated:** [August 11, 2023, 5:50pm UTC](https://discourse.elm-lang.org/t/semver-enforcement/9263 "2023-08-11T17:50:50Z")

</div>

Hi there :slight\_smile: Is there any check in place, that goes further than checking the type signature, in order to determine the API changes?

---

## [What to name functions that encapsulate destructuring and call callbacks?](https://discourse.elm-lang.org/t/what-to-name-functions-that-encapsulate-destructuring-and-call-callbacks/9266)

<div class="topic-metadata">

**Author:** [@dwayne](https://discourse.elm-lang.org/u/dwayne)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 10:02pm UTC](https://discourse.elm-lang.org/t/what-to-name-functions-that-encapsulate-destructuring-and-call-callbacks/9266 "2023-08-07T22:02:34Z")

</div>

I have a few functions in my 7GUIs implementation that are named map\[Something\] but which clearly do not map in the usual sense. The general idea behind all the functions is that they encapsulate the destructuring logic …

---

## [Beginner question: using elm after optimizing to js](https://discourse.elm-lang.org/t/beginner-question-using-elm-after-optimizing-to-js/9261)

<div class="topic-metadata">

**Author:** [@bwanab](https://discourse.elm-lang.org/u/bwanab)\
**Replies:** 3\
**Last updated:** [August 7, 2023, 3:48pm UTC](https://discourse.elm-lang.org/t/beginner-question-using-elm-after-optimizing-to-js/9261 "2023-08-07T15:48:47Z")

</div>

I’ve built an app in Elm. If I do elm compile src/Main.elm, it builds an index.html file that works very nicely when I invoke it. Following the instructions here: Minification · An Introduction to Elm, I end up with elm…

---

## [Poll - anticipating production adoption of elm-pages-v3 + prisma? (e.g. T3 alternative)](https://discourse.elm-lang.org/t/poll-anticipating-production-adoption-of-elm-pages-v3-prisma-e-g-t3-alternative/9253)

<div class="topic-metadata">

**Author:** [@kanishka](https://discourse.elm-lang.org/u/kanishka)\
**Replies:** 0\
**Last updated:** [July 28, 2023, 11:16pm UTC](https://discourse.elm-lang.org/t/poll-anticipating-production-adoption-of-elm-pages-v3-prisma-e-g-t3-alternative/9253 "2023-07-28T23:16:15Z")

</div>

I’m curious to understand how many people are actively planning to use elm-pages-v3 and prisma to replace an existing SPA and backend API (node, python, rails, go, rust) or start a greenfield project (in a commercial set…

---

## [Deep copy or shallow copy?](https://discourse.elm-lang.org/t/deep-copy-or-shallow-copy/9241)

<div class="topic-metadata">

**Author:** [@dtrckd](https://discourse.elm-lang.org/u/dtrckd)\
**Replies:** 7\
**Last updated:** [July 25, 2023, 10:59am UTC](https://discourse.elm-lang.org/t/deep-copy-or-shallow-copy/9241 "2023-07-25T10:59:22Z")

</div>

Hi, I’m often faced with the following problem. I have a record containing large data in a main view. Let’s say model = { name = "name" , big\_data = fooBarLarge , componentData = MyComponent.init -- init a s…

---

## [Anyone interested in Backstage.io?](https://discourse.elm-lang.org/t/anyone-interested-in-backstage-io/9236)

<div class="topic-metadata">

**Author:** [@newgoliath](https://discourse.elm-lang.org/u/newgoliath)\
**Replies:** 1\
**Last updated:** [July 21, 2023, 2:44pm UTC](https://discourse.elm-lang.org/t/anyone-interested-in-backstage-io/9236 "2023-07-21T14:44:22Z")

</div>

https://backstage.io is quickly becoming an enterprise go-to for internal developer portals. It’s mostly client-side JavaScript. It relies on a robust plug-in ecosystem. I was wondering if anyone is interested in tryi…

---

## [Just starting out](https://discourse.elm-lang.org/t/just-starting-out/9238)

<div class="topic-metadata">

**Author:** [@timomartinson](https://discourse.elm-lang.org/u/timomartinson)\
**Replies:** 5\
**Last updated:** [July 19, 2023, 6:47am UTC](https://discourse.elm-lang.org/t/just-starting-out/9238 "2023-07-19T06:47:44Z")

</div>

Hey fellows. I need a little help. I would like to create a CMS with Elm. My models are: Page, Section and Block. Each model has three fields: a slug, a name and a description. Page has a field called sections (type: L…

---

## [Serving static content within a single-page web app](https://discourse.elm-lang.org/t/serving-static-content-within-a-single-page-web-app/9221)

<div class="topic-metadata">

**Author:** [@spoon](https://discourse.elm-lang.org/u/spoon)\
**Replies:** 6\
**Last updated:** [July 9, 2023, 7:31pm UTC](https://discourse.elm-lang.org/t/serving-static-content-within-a-single-page-web-app/9221 "2023-07-09T19:31:40Z")

</div>

I’m new to Elm and I’m using the language to build a little website. I’ve got the site’s framework built out using Browser.applicationand Url to route to the different sections of the site. The actual content is supposed…

---

## [Loading css stylesheet on netlify](https://discourse.elm-lang.org/t/loading-css-stylesheet-on-netlify/9220)

<div class="topic-metadata">

**Author:** [@bsassoli](https://discourse.elm-lang.org/u/bsassoli)\
**Replies:** 1\
**Last updated:** [July 9, 2023, 12:42am UTC](https://discourse.elm-lang.org/t/loading-css-stylesheet-on-netlify/9220 "2023-07-09T00:42:12Z")

</div>

Dear all, as a total noob to elm I am aware this may be silly but: I am trying to deploy to netlify a very simple calculator app. I have an external stylesheet in the root folder. Googling around I found that I should a…

---

## [How to remove an element from a list on click?](https://discourse.elm-lang.org/t/how-to-remove-an-element-from-a-list-on-click/9212)

<div class="topic-metadata">

**Author:** [@aycyang](https://discourse.elm-lang.org/u/aycyang)\
**Replies:** 3\
**Last updated:** [July 6, 2023, 9:13am UTC](https://discourse.elm-lang.org/t/how-to-remove-an-element-from-a-list-on-click/9212 "2023-07-06T09:13:58Z")

</div>

Let’s say I have a List String in my model, and in my view I’m using List.map to convert each String to an HTML element so that I can display them all. Now I’d like to make it so that when I click on one of these HTML el…

---

## [History of Oak -\> Lamdera?](https://discourse.elm-lang.org/t/history-of-oak-lamdera/9199)

<div class="topic-metadata">

**Author:** [@kanishka](https://discourse.elm-lang.org/u/kanishka)\
**Replies:** 3\
**Last updated:** [June 28, 2023, 7:32am UTC](https://discourse.elm-lang.org/t/history-of-oak-lamdera/9199 "2023-06-28T07:32:47Z")

</div>

I’m curious about the transition from Oak to Lamdera. How did that evolve and was there a time where Lamdera did a broad analysis of options before picking a particular implementation platform for backend? Also, what li…

---

## [Elm with existing html templates](https://discourse.elm-lang.org/t/elm-with-existing-html-templates/9197)

<div class="topic-metadata">

**Author:** [@doloops](https://discourse.elm-lang.org/u/doloops)\
**Replies:** 9\
**Last updated:** [June 21, 2023, 6:57pm UTC](https://discourse.elm-lang.org/t/elm-with-existing-html-templates/9197 "2023-06-21T18:57:32Z")

</div>

Hi all, I am approaching Elm. Currently, I am evaluating Elm for a specific use case. I have an admin website to perform CRUD operations. It’s made in Elixir (Phoenix) and has small bits of javascript only where needed…

---

## [State of elm ui](https://discourse.elm-lang.org/t/state-of-elm-ui/9175)

<div class="topic-metadata">

**Author:** [@ShinyStack](https://discourse.elm-lang.org/u/ShinyStack)\
**Replies:** 5\
**Last updated:** [June 20, 2023, 8:50pm UTC](https://discourse.elm-lang.org/t/state-of-elm-ui/9175 "2023-06-20T20:50:34Z")

</div>

Hi, I’m trying a little experiment with Elm, after not using the language at all for a couple years. I remember being really curious about Elm-UI. Is it still something folks in this community use? Or has the user-inter…

---

## [Active pages vs passive pages](https://discourse.elm-lang.org/t/active-pages-vs-passive-pages/9191)

<div class="topic-metadata">

**Author:** [@AlanQ](https://discourse.elm-lang.org/u/AlanQ)\
**Replies:** 4\
**Last updated:** [June 20, 2023, 4:29pm UTC](https://discourse.elm-lang.org/t/active-pages-vs-passive-pages/9191 "2023-06-20T16:29:57Z")

</div>

In my Browser.application app I have a page of text input boxes allowing the user to edit the information in each. Necessarily, the text in each box must be a copy of data from the main data structure, so that the user …

---

## [Elm-ui, tables and performance issues](https://discourse.elm-lang.org/t/elm-ui-tables-and-performance-issues/9166)

<div class="topic-metadata">

**Author:** [@Benjamin](https://discourse.elm-lang.org/u/Benjamin)\
**Replies:** 7\
**Last updated:** [June 15, 2023, 6:25am UTC](https://discourse.elm-lang.org/t/elm-ui-tables-and-performance-issues/9166 "2023-06-15T06:25:31Z")

</div>

Hi there :wave:, recently I’ve been working on a small personal accounting application in Elm. Basically importing bank statements from CSVs, categorizing them and showing monthly overviews of income and spending by cate…

---

## [Elm-land message type conflicts when using onClick for JS intern](https://discourse.elm-lang.org/t/elm-land-message-type-conflicts-when-using-onclick-for-js-intern/9177)

<div class="topic-metadata">

**Author:** [@Ralph\_Hodgson](https://discourse.elm-lang.org/u/Ralph_Hodgson)\
**Replies:** 1\
**Last updated:** [June 11, 2023, 8:33pm UTC](https://discourse.elm-lang.org/t/elm-land-message-type-conflicts-when-using-onclick-for-js-intern/9177 "2023-06-11T20:33:58Z")

</div>

The issue is explained at the template: GitHub - ralphtq/elm-land-siteplan: Templates for elm-land As a newcomer to Elm this might be an obvious issue.

---

## [Elm UI widget customize text input full width](https://discourse.elm-lang.org/t/elm-ui-widget-customize-text-input-full-width/9170)

<div class="topic-metadata">

**Author:** [@tino415](https://discourse.elm-lang.org/u/tino415)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 5:32pm UTC](https://discourse.elm-lang.org/t/elm-ui-widget-customize-text-input-full-width/9170 "2023-06-09T17:32:29Z")

</div>

Hello all, I’m trying out elm-ui-widgets on my first serious side hustle and I can’t get working basic thing, I want to customize input to be full width, I found out that in customize package there is elementTextInput b…

---

## [New in elm in 2023](https://discourse.elm-lang.org/t/new-in-elm-in-2023/9173)

<div class="topic-metadata">

**Author:** [@kuna.prime](https://discourse.elm-lang.org/u/kuna.prime)\
**Replies:** 7\
**Last updated:** [June 9, 2023, 3:39pm UTC](https://discourse.elm-lang.org/t/new-in-elm-in-2023/9173 "2023-06-09T15:39:25Z")

</div>

Hi, everyone! recently i have read through official elm guide and made some small experiments and now am very interested in starting a project in elm. I’m not new to a functional programming but i have some general que…

---

## [Unit conversion exercise from the elm guide](https://discourse.elm-lang.org/t/unit-conversion-exercise-from-the-elm-guide/9147)

<div class="topic-metadata">

**Author:** [@GlutenousComa](https://discourse.elm-lang.org/u/GlutenousComa)\
**Replies:** 3\
**Last updated:** [May 29, 2023, 11:40am UTC](https://discourse.elm-lang.org/t/unit-conversion-exercise-from-the-elm-guide/9147 "2023-05-29T11:40:21Z")

</div>

Started to follow the elm guide this weekend and got tripped up on the exercise in the partial functions section. The exercise involves altering an existing °C to °F converter to highlight invalid inputs and adding more…

---

## [Implementing a simple toggling page view](https://discourse.elm-lang.org/t/implementing-a-simple-toggling-page-view/9138)

<div class="topic-metadata">

**Author:** [@AlanQ](https://discourse.elm-lang.org/u/AlanQ)\
**Replies:** 7\
**Last updated:** [May 22, 2023, 1:30pm UTC](https://discourse.elm-lang.org/t/implementing-a-simple-toggling-page-view/9138 "2023-05-22T13:30:17Z")

</div>

I’m new to Browser.application; feeling my way around routing. And tearing my hair out trying to implement what, on the face of it, is a simple task: Each page will have its own help view, such that by tapping the help…

---

## [Elm-css and cache](https://discourse.elm-lang.org/t/elm-css-and-cache/9139)

<div class="topic-metadata">

**Author:** [@Vani\_Murarka](https://discourse.elm-lang.org/u/Vani_Murarka)\
**Replies:** 13\
**Last updated:** [May 22, 2023, 6:00am UTC](https://discourse.elm-lang.org/t/elm-css-and-cache/9139 "2023-05-22T06:00:07Z")

</div>

I’ve started using elm-css but now it takes a little longer for the page to display in the browser. I guess this is because the js generated by elm-css generates the css classes each time, which is additional work compar…

---

## [A data structure for vector drawing?](https://discourse.elm-lang.org/t/a-data-structure-for-vector-drawing/9134)

<div class="topic-metadata">

**Author:** [@rupert](https://discourse.elm-lang.org/u/rupert)\
**Replies:** 6\
**Last updated:** [May 19, 2023, 12:26pm UTC](https://discourse.elm-lang.org/t/a-data-structure-for-vector-drawing/9134 "2023-05-19T12:26:22Z")

</div>

Think of the application Inkscape, if you know it, but other drawing software may have similar features. In Inkscape you can select some visual elements in a drawing and group them. Once grouped, they select and move as …

---

## [Install Elm - how](https://discourse.elm-lang.org/t/install-elm-how/9118)

<div class="topic-metadata">

**Author:** [@eelcoh](https://discourse.elm-lang.org/u/eelcoh)\
**Replies:** 9\
**Last updated:** [May 5, 2023, 4:49am UTC](https://discourse.elm-lang.org/t/install-elm-how/9118 "2023-05-05T04:49:57Z")

</div>

\[Sorry, could not find a recent post on this subject.\] What would be the advised way to install Elm on a machine (apple silicon in my case). Think the options i have are brew, npm and the installer from elm-lang.org.

---

## [Codec with non-matching structures: object/custom type](https://discourse.elm-lang.org/t/codec-with-non-matching-structures-object-custom-type/9121)

<div class="topic-metadata">

**Author:** [@sylbru](https://discourse.elm-lang.org/u/sylbru)\
**Replies:** 10\
**Last updated:** [May 3, 2023, 3:34pm UTC](https://discourse.elm-lang.org/t/codec-with-non-matching-structures-object-custom-type/9121 "2023-05-03T15:34:15Z")

</div>

I have a type that I currently have encoders/decoders for. I want to turn them into elm-codecs but I’m really struggling. Here’s the Elm type: type D = A { f : Int } | B { b : String } | C { f : Int } And …

---

## [Rambling - multiple page app, no API, hypothetical early startup](https://discourse.elm-lang.org/t/rambling-multiple-page-app-no-api-hypothetical-early-startup/9095)

<div class="topic-metadata">

**Author:** [@kanishka](https://discourse.elm-lang.org/u/kanishka)\
**Replies:** 6\
**Last updated:** [May 3, 2023, 11:40am UTC](https://discourse.elm-lang.org/t/rambling-multiple-page-app-no-api-hypothetical-early-startup/9095 "2023-05-03T11:40:29Z")

</div>

I posted an earlier question about caching and prefetching. Since then I have continued to ponder ways to implement less boilerplate in a large CRUD app, ignoring the question of optimizing page loads. For the following…

---

## [Elm-watch not injecting itself](https://discourse.elm-lang.org/t/elm-watch-not-injecting-itself/9115)

<div class="topic-metadata">

**Author:** [@paulh](https://discourse.elm-lang.org/u/paulh)\
**Replies:** 3\
**Last updated:** [May 1, 2023, 6:11pm UTC](https://discourse.elm-lang.org/t/elm-watch-not-injecting-itself/9115 "2023-05-01T18:11:13Z")

</div>

Hi, I’ve been using elm-watch and it’s great, but I’m getting intermittent problems where it doesn’t seem to be injecting itself into the page and therefore I’m not seeing the changes to my Elm files. It does detect ch…

---

## [Parsing a string into a List](https://discourse.elm-lang.org/t/parsing-a-string-into-a-list/9112)

<div class="topic-metadata">

**Author:** [@carlotm](https://discourse.elm-lang.org/u/carlotm)\
**Replies:** 3\
**Last updated:** [April 28, 2023, 4:41pm UTC](https://discourse.elm-lang.org/t/parsing-a-string-into-a-list/9112 "2023-04-28T16:41:17Z")

</div>

Hi all, I am learning Elm, sorry if my question sounds silly. I have a multiline string in input, something like this: | foo foo Something here Some | more | text | bar bar Something else here bla bla ... I would …

---

## [Passing JS readonly values to a port](https://discourse.elm-lang.org/t/passing-js-readonly-values-to-a-port/9108)

<div class="topic-metadata">

**Author:** [@Bram](https://discourse.elm-lang.org/u/Bram)\
**Replies:** 11\
**Last updated:** [April 27, 2023, 10:22am UTC](https://discourse.elm-lang.org/t/passing-js-readonly-values-to-a-port/9108 "2023-04-27T10:22:47Z")

</div>

I aim to use my Xbox controller as an input to my Elm program. I am having trouble converting the value to a JSON value, however. The JavaScript is as follows, and is specified here. navigator.getGamepads(); // Get a li…

[Previous page](https://discourse.elm-lang.org/c/learn/6.md?page=5)

[Next page](https://discourse.elm-lang.org/c/learn/6.md?page=7)
