Justin Myers
Sep 2, 2018 · 1 min read

One observation on the article: you create createTodoFactory in the beginning of the article but then it’s never used again.

What’s the benefit and where does it fit into your Todo list application? I’m not seeing how a toString method would be useful when you have a toViewModel method in the store that’s creating a new object anyways for display.

An example of it being used in conjunction with the TodoStore would be helpful.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade