14 karma · joined Jan 14, 2016 (10y ago) · 9 submissions
comment 10y ago · link · parent
You can also wrap some code into special autorun function, that will track what observable data was accessed, and when that data changes, that code will be called again.
But wait, there's more =) It works with arrays, objects and other types, check out the docs!
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
We've introduced it to one of our project 4 months ago and our state management became as simple and easy as it should be with React. No boilerplate subscriptions, no helpers that modify normalized data, no endless re-renders on every state change and very easy to understand concept for new developers.
We literally stopped worrying about the state though it took some time to rewrite the app.