Well, I hope your head didn't explode due to the amount of information in the previous example. You should be ready for a real step-by-step tutorial now - how to write a classic TodoMVC example from scratch.
You'll learn:
Model
and Msg
according to specifications.There are two ways to write Seed apps from scratch:
Design Model
and Msg
first and then write other app parts.
Write view
first and then other items.
Model
will be simple; for prototypes; and if you like rewriting a lot. Also it's useful when you are forced to do something like Scrum and you want to show at least something on the demo.Let's begin!
There are specs in the official TodoMVC repo. They'll help us to design Model
in the next chapter.