mpdairy / elm-component-updater

Easily update and organize nested child components in Elm.
MIT License
41 stars 1 forks source link

Is this approach still "current"? #2

Open RobertSwirsky opened 6 years ago

RobertSwirsky commented 6 years ago

I'd love to have a structure where I can treat each "route" of an elm SPA as if it has its own model and is independent of the others. This project seems to solve the problems.

Since it hasn't been updated in over a year, I'm wondering if some other technique or library has superseded this, or is this still state-of-the-art?

It's an problem I suspect many people building elm SPAs with routing will face.

Thanks!

mpdairy commented 6 years ago

Oh sorry I missed this question of yours. I haven't used Elm in a while. I'd be curious to know if you ended up finding a better way to rig up components since last you posted.

Also, if you're curious, the latest front-end I really like working with is called Concur, which is for either Haskell (ghcjs) or Purescript. I decided I don't like the Elm architecture because you end up with a giant case statement that doesn't really very nicely represent time or event sequences. Concur is structured more around time and is really fun to work with, plus making reusable components in it is very easy.