![Javascript to Elm artwork](https://is5-ssl.mzstatic.com/image/thumb/Podcasts123/v4/ae/06/b5/ae06b52b-64ae-9a7e-1f31-b293a2085da9/mza_3840978457865575010.png/100x100bb.jpg)
Out of the Wilderness
Javascript to Elm
English - May 09, 2019 09:00 - 20 minutes - 16.1 MB - ★★★★★ - 4 ratingsTechnology elm javascript programming Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Coming down from our conference high, we've also thawed out from the 'Spring' temperatures in Chicago, we get back to work on routing and overall structure on building a SPA in just Elm.
CFP for Elm-Conf You have sometime to get a proposal in. I’d love to hear what you have to say about your latest Elm or functional related adventures. I’ve submitted one of a couple of my ideas, I encourage you to do the same. Lost in Routing if you listened last week, and were a bit confused, you are not alone. I too am trying to unlearn a lot of habits good and bad that I baked into my mental model of an SPA. Prop passing is muscle memory at this point, and I’m having a hard time not picturing the model of my application that way. First things first - THROW OUT THE COMPONENTS NAMED FILE Better? cool. Let’s start again. Views are functions, they are composable together. I am not entirely sure what _main was referencing in the components file. And it’s even harder to google something for which you don’t have a name to describe it with. Back to basics
Goals for today, what is FRP First order FRPModel -> View -> Update
View is a reflection of the model Changes to Model ONLY happen in the model Communicate through messages What are Tasks again? Msg incoming to updateCustom Type is just a data structure in which to dispatch a function. Msg is not a function, but a custom type type. And the function update, takes a model, and a
React dangerously set inner HTML
Resources Follow JavaScript to Elm Twitter: @jstoelmEmail: [email protected]
Jesse Tomchak Twitter: @jtomchak
We cannot render the preview. If you use HTML tags, check if these are valid.