4 ms·
Oh hey, I literally just wrote this page yesterday :) For background, I've had to repeatedly spend time answering questions all over that really boil down to p
by acemarke 6y ago
Oh hey, I literally just wrote this page yesterday :)
For background, I've had to repeatedly spend time answering questions all over that really boil down to people not knowing what problems specific tools solve and when it _might_ make sense to use those tools (like, say, "Redux vs Context" [0]).
The React team has kept the React docs and their advice focused on just using React itself, and avoided making recommendations or documenting tools and practices in the ecosystem. While they are in the middle of rewriting the React docs from scratch [1], as far as I know the new React docs still won't try to address things like "here's common tools in the ecosystem".
So, I decided it was time to do something about this [2]. My goal is that this would be a moderately opinionated and curated site where people can see a list of tools and practices in various categories like "state management", "styling", "build tools", and so on, and read descriptions of "what is this tool, what problems does it solve, and when should I consider using it". I _don't_ want to turn it into arguments over "TOOL X IS BETTER THAN TOOL Y!". I _do_ want to get experts from the community involved in writing these pages, like having the maintainers of libraries like Mobx and XState write pages on when their own libraries should be used, as well as when it makes sense to use React component state instead.
Yesterday I sat down for a few hours and hammered out a quick draft of the first couple pages for the site - this "State Management Overview" page, and a description of Redux and its use cases [3].
This is absolutely a first draft, and I hope to get the rest of the community involved in building this out! I just wanted to get _something_ written and live as a starting point for discussion and to kickstart the project.
*edit*
Okay, seriously, let me reiterate:
THIS IS A FIRST DRAFT THAT I JUST THREW TOGETHER IN A FEW HOURS.
I haven't even had a chance to go back and add more material to this "State Management Overview" page, like some of the info and resources I dug up yesterday [4].
That said, I _do_ want to get the React community involved in fleshing out the categories and material on this site!
[0] https://blog.isquaredsoftware.com/2021/01/context-redux-differences/ https://blog.isquaredsoftware.com/2021/01/context-redux-diff...
[1] https://github.com/reactjs/reactjs.org/issues/3308 https://github.com/reactjs/reactjs.org/issues/3308
[2] https://github.com/markerikson/react-community-tools-practices-cheatsheet/discussions/1 https://github.com/markerikson/react-community-tools-practic...
[3] https://react-community-tools-practices-cheatsheet.netlify.app/state-management/redux https://react-community-tools-practices-cheatsheet.netlify.a...
[4] https://twitter.com/acemarke/status/1368716112469299200 https://twitter.com/acemarke/status/1368716112469299200
- arcturus17 6y agoIt’s a good idea; every React dev struggles with these questions at one point or another. Keep it up!