3 ms·
It's interesting you should bring this up. I'm a Redux maintainer, and I recently opened up an issue for discussion of possible useful "official" libraries or
by acemarke 10y ago
It's interesting you should bring this up. I'm a Redux maintainer, and I recently opened up an issue for discussion of possible useful "official" libraries or tooling that could be built on top of Redux: https://github.com/reactjs/redux/issues/2295 https://github.com/reactjs/redux/issues/2295 .
A basic option might be a small library that simply creates a pre-configured store for you, and possibly also includes some common useful utilities (redux-thunk, reselect, redux-actions, etc). At a higher level, Dan Abramov suggested that he would like to see something that has data fetching, normalization, and code splitting built in.
Another approach would be something that sits on top of Create-React-App, kind of like what you've built here. Your tool looks interesting, although it looks considerably more opinionated in terms of React-related libraries than something we might want to dub as an "official" Redux tool.
I'd love to have you join the discussion in that issue and help us come up with ideas for ways to improve Redux and the ecosystem!
- gillchristian 10y agoAwesome. I did not know about that issue. Seems like an interesting read. I personally would like a standalone tool, like CRA. Will indeed jump into the discussion myself.
- delvallejonatan 10y agoI think Redux need an starter like create-react-app. Something official following the best practices, something that covers not only the world of React but also implements Redux and all the libraries necessary to make a real world application. You could have the options of including different libraries (redux-thunk, reselect, redux-actions, etc.) and it would be the devloper decision whether to include these libraries in the project or not. Yeoman offers this solution by asking before installing the dependencies.