Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you have complex state MobX is very nice and performant and works with Typescript well.

Apollo is also nice. It's best for display heavy apps as documentation and typechecking is at least enforced/built-in. But I feel it's too abstracted/magic for heavy state apps. I still need to find good flow with Typescript and Apollo though. (to not repeat types - haven't tried yet really).

Redux IMO is overkill and is/was abused. It's good if you want to store some global data/config and have clear view od it. But for very dynamic state MobX is much less overhead.

I would just like a good way to share components and simpler styling.

BTW for simplest state management I like pure class implementation and just calling update on main component after event handler finishes. It's easier to test and good enough for simple UIs.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: