A simple and quick way to get you going with developing React applications with the latest versions of React, Redux Toolkit and Sass.
Comes with pre-configured Webpack for bundling your application to help save time in setting up your project. Keeps CSS out of JavaScript to maintain separation of concerns. Redux Toolkit takes care of State Management.
Demo: https://www.gigacore.in/demos/react-redux-demo/
For a complex example with Async actions, take a look at: react-weather-forecast
With all necessary tools in place, all you need to do is start creating React Components, style them and use Redux Toolkit for the State management.
All the required code (JS + Sass) goes inside the src folder. Webpack will compile, bundle and output in the public folder, which you can upload/deploy to the root directory of your web server to publish your app!
git clone https://github.com/Gigacore/React-Redux-Sass-Starter.git
cd React-Redux-Sass-Starter
npm i
npm run start:dev
npm run build
- Changes made to your CSS / JS triggers a full page auto-reload.
- Running a build writes the
bundle.jsandbundle.cssto the/public/dist/directory.
- Module bundler: Webpack
- ES6 Transpiler: @babel/core
- State Management: Redux Toolkit
- Linting: eslint
- CSS Extraction: mini-css-extract-plugin
- Dev Server: webpack-dev-server (
npm run start:dev)
/
├─ public/
| ├─ dist/
| | ├─ bundle.css # CSS that's generated from SASS
| | ├─ bundle.js # Contains scripts of components & vendor(s).
| ├─ index.html # Contains root element to mount your app.
└─ src/
├─ components/ # Create components here
| ├─ Controls.js
| ├─ Counter.js
|─ containers/ # Containers bridge Components with the State.
| ├─ Controls.js
| ├─ Counter.js
├─ features/ # Redux Toolkit slices
| ├─ counter/
| | ├─ counterSlice.js
├─ styles/ # All styling goes here.
| ├─ main.scss
├─ App.js # Include your main component(s).
├─ index.js # Passes state to App. Renders markup to DOM.
└─ store.js # Creates and exports store.
This starter kit assumes, you are familiar with JavaScript (ES6). If you are new to this stack, here are some resources to help you get started with:
React - Quick Start | Start Learning React | React in 8-minutes
Redux Toolkit - Quick Start
Sass - Sass Guide
MIT © 2025 Santhosh Sundar
