(v2) Remove Model.Init()
in favor of a tea.InitMsg
#1259
myaaaaaaaaa
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hey thanks for mentioning this! I'm going to convert this to a discussion as it's not something directly actionable at the moment. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi! So this is interesting. We're unlikely to stray too far from Elm's conventions, but how would this work in practice? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As of the below PR,
Model.Init()
andModel.Update()
now have nearly identical signatures:At this point, we might as well just turn it into a
tea.InitMsg
like so:Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions