Hacker News new | past | comments | ask | show | jobs | submit login

Would xstate potentially eliminate the need for redux for state management in react?

If so, how would the implementation differ from store and reducers?




I'm a Redux maintainer. You could probably use xstate instead of Redux in some cases. You could also probably use xstate as the actual implementation of your Redux reducers, too :)


I could see them being used together with something like https://github.com/Monadical-SAS/redux-time to manage animated transitions of game states or data visualizations from one step to the next.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: