-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does your project structure differ now with the 0.19 release? #53
Comments
I'm most curious about the use of the |
He did admit that when upgrading to 0.19 he "completely rearchitected everything" :-) @rtfeldman I'd love to know the reasons for these changes, maybe we all can learn from them. |
The most interesting thing for me is the change from |
My understanding of the switch from Task to Cmd for each page is that previously, the transition to the page would not take place until all the data had loaded for it (the Task was responsible for creating the page model). Now the transition takes place immediately, and the page model keeps track of the loading state of its individual parts (usually called The benefit is that if there are multiple parts to a page, the user can see the loaded bits immediately. For example they can start reading an article without having to wait for the comments to load. Previously, they would be stuck on the original page waiting for the transition to take place. |
@tekul but this is not what it seems here, right? https://elm-spa-example.netlify.com/ |
@frederikhors Not sure what you mean by "not what it seems here". That's the new version - it loads the page immediately then loads the content (the feed and tags). |
Hi @rtfeldman, just wondering if you're planning on updating your article to elaborate on your new project structure for the 0.19 release? https://dev.to/rtfeldman/tour-of-an-open-source-elm-spa -- Noticed that your new commits have a significantly different project structure. Thanks.
The text was updated successfully, but these errors were encountered: