Skip to content

Just nosey about the dev team's UI state management experience #6022

Discussion options

You must be logged in to vote

Hi @corysimmons and thanks for your questions! Let me try to answer them to the best of my ability 😄

Some history
Originally CodeSandbox was written in Redux and I actually did a talk on why we moved to Cerebral (Which used mobx-state-tree as the state store): https://www.youtube.com/watch?v=uni-dG6-Rq8. In short Redux at that time had a ton of boilerplate across a multitude of files, making it very hard to reason about the codebase and how thing actually worked. It also had several performance issues in the UI related to the considerations you have to make leaning on traditional "value comparison" of React. Wrote an article about this here: https://itnext.io/updating-uis-value-comparison…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@corysimmons
Comment options

@christianalfoni
Comment options

@corysimmons
Comment options

Answer selected by corysimmons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants