kagucho / tsubonesystem3

The next generation web service for the internal use
GNU Affero General Public License v3.0
2 stars 0 forks source link

Introduce state management library for ECMAScript #10

Open akihikodaki opened 7 years ago

akihikodaki commented 7 years ago

The current state management code is at the beginning of /webapp/src/private/client/client.js and takes about 500 lines. I believe the amount could be reduced by reviewing its relational feature, but it would take a few hundred lines at least. We could introduce a state management library, which is a much bigger than the current one, but provides an API easy to understand. MobX is the first candidate.

yumetodo commented 7 years ago

ニコニコ生放送での採用例

https://www.slideshare.net/_kondei/watch-mobx