Re:I fell in love with low-JS
by aabbcc1241 on Wednesday May 04, 2022 @08:56PM
(#31268020)
IMO mobx has better DX than redux, not sure why it's less popular. Probably because react community prefer FP over OOP?
Some graphQL clients can eliminate the need for these state management tools. Everything becomes just graphQL queries and mutations with very sophisticated caching. When you mutate some resource, other components that have queries that are affected by the mutation will re render with the new state.
It is very uncomplicated