Releases: reduxjs/cra-template-redux
v2.0.0
This major release updates the CRA+JS template to work with React 18 and React-Redux v8, including updating the rendering setup to use createRoot
and updating all dependencies.
What's Changed
- Update template for React 18 and React-Redux v8 by @souzaramon in #53
- Update template deps for React-Redux v8 by @markerikson in #54
Full Changelog: v1.0.3...v2.0.0
v1.0.3
This release reworks the counter slice example to show better usage patterns,
and fixes line endings for the template files.
Changelog
Counter Example Improvements
We've updated the counter example to better showcase use of sync and async
thunks, including fetching from a fake API layer.
We've also added some additional comments to clarify what each bit of code is.
Template Fixes
Previous versions of the template had Windows line endings. They should now work better on all systems.
Changes
v1.0.2
This release wraps the app in <React.StrictMode>
by default (matching the standard CRA templates), and tweaks some naming and comments.
Changelog
- Clarify counter slice name (@markerikson - e0cca21)
- Merge pull request #18 from BenLorantfy/strict-mode (@BenLorantfy - b2ab762)
v1.0.1
Initial Release: 1.0.0
This is the first release of the official Redux template for Create-React-App!
You can use this to set up a brand new Create-React-App project that will be automatically set up with:
- Redux Toolkit and React-Redux dependencies included
- A Redux store configured and created
- The React-Redux
<Provider>
passing the store to your React components - A small "counter" example showing how to add Redux logic using Redux Toolkit and a "ducks" / feature-based structure, and using the React-Redux hooks API to interact with the store from inside your components.
To use it, run:
npx create-react-app my-app --template redux
See the Create-React-App docs on project setup for more information.
Credits
Thanks to:
- @BenLorantfy for doing most of the hard work on creating the actual Redux template
- @nickmccurdy for dropping in the initial CRA template to work from
- @iansu and the CRA devs for putting together the template system (and having the foresight to reserve this package name for our use :) )
Changelog
- Add default template (@nickmccurdy - #2 )
- Add base template (@BenLorantfy - #1 )