redux Getting started with redux Installation or Setup

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

Basic installation:

You can download redux javascript file, using this link.

Also you can install redux, using bower :

bower install https://npmcdn.com/redux@latest/dist/redux.min.js

Next, you need to include redux to your page:

<html>
  <head>
    <script type="text/javascript" src="/path/to/redux.min.js"></script>
  </head>
  <body>
    <div id="app"></div>
    <script>
      // Redux is available as `window.Redux` variable.
    </script>
  </body>
</html>

Npm installation:

If you are using npm, to install redux, you need to run:

npm install redux --save

Next, to use redux, you need to require it (assuming you are using module bundler, like webpack):

var redux = require('redux');

Or if you are using es6 transpiler, like babel:

import redux from 'redux';


Got any redux Question?