Tune in to the tools and techniques in the Elm ecosystem.
035: elm-spa v6
July 19, 2021
1:14:11
71.25 MB
Downloads: 0
- Ryan Haskell-Glatz (Twitter) (GitHub)
elm-spa
V5 Docselm-spa
v5 episode
Key new features in v6
Provide/redirect protected custom type
Eject workflow
Can Eject not found page
Eject workflow stops generating files when they're ejected
Inspired by Nuxt
Page builder API (like browser sandbox)
No more int or string in url
elm-pages
2.0 routing and splat routesUI namespace in elm-spa docs repo has a shared page helper function for building the shared header/footer
elm-spa 6 has fewer ignored arguments compared to v5 - now wired through in page top level function and you can wire to update, init, etc.
Effect pattern -
elm-spa
v6 has an ejectableEffect
moduleelm-real-world
SPA example (elm-spa-example
usingelm-spa
framework)#elm-spa-users
channel on the Elm Slack