• Stars
    star
    287
  • Rank 138,917 (Top 3 %)
  • Language
    CSS
  • Created about 4 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Example app for the Redux Essentials tutorial

Redux Essentials Tutorial Example

This project contains the setup and code from the "Redux Essentials" tutorial in the Redux docs ( https://redux.js.org/tutorials/essentials/part-1-overview-concepts ).

The master branch has a single commit that already has the initial project configuration in place. You can use this to follow along with the instructions from the tutorial.

The tutorial-steps branch has the actual code commits from the tutorial. You can look at these to see how the official tutorial actually implements each piece of functionality along the way.

This project was bootstrapped with Create React App, using the Redux and Redux Toolkit template.

Note: If you are using Node 17, this project may not start correctly due to a known issue with Webpack and Node's OpenSSL changes, which causes an error message containing ERR_OSSL_EVP_UNSUPPORTED.
You can work around this by setting a NODE_OPTIONS=--openssl-legacy-provider environment variable before starting the dev server. Details: webpack/webpack#14532 (comment)

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

More Repositories

1

redux

A JS library for predictable global state management
TypeScript
60,403
star
2

react-redux

Official React bindings for Redux
TypeScript
23,176
star
3

reselect

Selector library for Redux
TypeScript
18,988
star
4

redux-thunk

Thunk middleware for Redux
TypeScript
17,731
star
5

redux-devtools

DevTools for Redux with hot reloading, action replay, and customizable UI
TypeScript
13,863
star
6

redux-toolkit

The official, opinionated, batteries-included toolset for efficient Redux development
TypeScript
10,289
star
7

redux-mock-store

A mock store for testing Redux async action creators and middleware.
JavaScript
2,490
star
8

redux-templates

Official Redux templates for Vite, Create-React-App, and more
TypeScript
1,309
star
9

cra-template-redux

ARCHIVED: the CRA+JS template has moved to https://github.com/reduxjs/redux-templates
JavaScript
1,266
star
10

redux-devtools-chart-monitor

A chart monitor for Redux DevTools https://www.npmjs.com/package/redux-devtools-chart-monitor
JavaScript
292
star
11

rtk-github-issues-example

Source code for the Redux Toolkit Advanced Tutorial
TypeScript
211
star
12

d3-state-visualizer

Real-time visualizations of your application state
JavaScript
103
star
13

rtk-convert-todos-example

Source code for the Toolkit Intermediate Tutorial
JavaScript
91
star
14

redux-fundamentals-example-app

Example app for the Redux Fundamentals tutorial
CSS
77
star
15

react-redux-benchmarks

Performance benchmark harness for React-Redux
TypeScript
69
star
16

redux-essentials-counter-example

The standard Redux / Redux Toolkit "counter" app template for Create React App
JavaScript
44
star
17

examples

Examples of how to use Redux.
JavaScript
40
star