Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Releases: reduxjs/cra-template-redux

v2.0.0

24 Apr 20:10
Compare
Choose a tag to compare

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

Full Changelog: v1.0.3...v2.0.0

v1.0.3

05 Apr 03:16
Compare
Choose a tag to compare

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

  • Merge pull request #36 from reduxjs/feature/port-ts-changes dadb45a
  • Merge pull request #16 from goncy/master 19d2005
  • Merge pull request #29 from msmolens/template-uses-lf 9994e30

v1.0.2...v1.0.3

v1.0.2

04 Apr 19:10
Compare
Choose a tag to compare

This release wraps the app in <React.StrictMode> by default (matching the standard CRA templates), and tweaks some naming and comments.

Changelog

v1.0.1...v1.0.2

v1.0.1

10 Mar 22:56
Compare
Choose a tag to compare

This release reorganizes some of the template contents files for improved structure, and adds an example of a thunk with some async logic.

Changelog

  • Add post-launch tweaks (#10) e500809
  • Allow incrementAsync to take an argument and update layout 08fc6ee
  • Add label to incrementAmount textbox 1d341d7

v1.0.0...v1.0.1

Initial Release: 1.0.0

18 Feb 01:16
Compare
Choose a tag to compare

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 )