Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey ryannhg I am new to Elm and I am not a very thorough person. I got stuck using elm-spa right at the start when I wanted to create a stateful page because the modules were missing when I generated a Page.sandbox.
I had to run elm-spa gen in order to sort this and I had to ask in the Elm beginner Slack :) maybe the update is a bit clearer for people like me that don't really know what they are doing and don't have a very good memory!
Other than that, I have a question regarding the command $ elm-spa add / sandbox
The documentation says it generates
page : Shared.Model -> Request -> Page.With Model Msg page = Page.sandbox { init = init , update = update , view = view }
but actually it generates
page : Shared.Model -> Request.With Params -> Page.With Model Msg page shared req = Page.sandbox { init = init , update = update , view = view }
the difference is "Request.With Params" and "page shared req"
is this intentional or should the documentation be updated for this too?
Thank you so much for your project. As I got stuck so early I can't say anything about it but I am looking forward to trying it out.
Best, Stephan