handris
handris

Reputation: 2109

Load React application with a given Redux state?

I would like to avoid clicking through a large frontend application to get to the component I need to make changes to.

I am wondering if I could save the redux store and reload my application after each code change with that given store object. Is this possible with a React/Redux based application?

Upvotes: 1

Views: 27

Answers (1)

igokul95
igokul95

Reputation: 23

Yes. You can save set the store with initial values. Initial values can be passed as the second argument to createstore api.

For more details: https://redux.js.org/api/createstore

Upvotes: 1

Related Questions