Skip to content

An Electron (Desktop) Template with React, Redux(configured with data persist)

Notifications You must be signed in to change notification settings

beisong7/electron-react-redux-persist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a React, Redux and Redux-Persist Boilerplate

Built with Create React App.

How to use

  • Pull down and use

Persisting Data on Redux (React)

  • Ensure you have proper knowledge of How Redux Works irrespective of the approach you learnt
  • From the reducer/index.js

    add the name of your reducer's key (which may have been combined) into the store.js whitelist

    Example, if the key in the export was auth

    export default combineReducers({
      posts: postReducer,
      auth: authReducer
    });

    add auth to the whitelist array as seen below

    whitelist: ["auth"];

    Start app

    npm run start

    Build app on electron

    npm run build

Enjoy...

About

An Electron (Desktop) Template with React, Redux(configured with data persist)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published