Re:Widget Driven Development
by alexey2020 on Wednesday December 15, 2021 @06:40AM
(#29564607)
>Whether the action goes and fetches data from the server doesn't matter
I tried to explain in the article why it matters.
If you are comfortable with putting all the data in a single Store and this works fine to you, then you may disregard the article.
The store approach is all about how the app handles local UI changes. Whether the action goes and fetches data from the server doesn't matter. What matters is that the store gives you a single source of truth that represents the state of the UI, and that this state gets one-way-synced with its actual dom representation.