Reader small image

You're reading from  React 16 Tooling

Product typeBook
Published inApr 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781788835015
Edition1st Edition
Languages
Tools
Right arrow
Authors (2):
Adam Boduch
Adam Boduch
author image
Adam Boduch

Adam Boduch has been involved in large-scale JavaScript development for nearly 15 years. Before moving to the frontend, he worked on several large-scale cloud computing products using Python and Linux. No stranger to complexity, Adam has practical experience with real-world software systems and the scaling challenges they pose.
Read more about Adam Boduch

Christopher Pitt
Christopher Pitt
author image
Christopher Pitt

Christopher Pitt is a principal developer for SilverStripe in Wellington, New Zealand. He usually works on open source software, though sometimes you'll find him building compilers and robots.
Read more about Christopher Pitt

View More author details
Right arrow

Exporting and importing state


As your Redux applications grow in size and complexity, the size and complexity of your state trees will grow in tandem. Because of this, there will be times when playing around with individual actions and to get your app into a specific state could be too cumbersome to perform manually over and over again.

Using Redux DevTools, you can export the current state of the application. Then, when you're troubleshooting later on and you need a specific state as a starting point, you can load it directly, rather than manually recreate it.

Let's try exporting the application state. First, navigate to the details page for React 16 Essentials:

To export the current state using Redux DevTools, click on the button with the down arrow:

Then, you can use the up arrow to import the state. But before you do that, navigate to a different book title, such as Getting Started with React VR:

Now, you can use the upload button in the Redux DevTools pane:

Since you're already on the book...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
React 16 Tooling
Published in: Apr 2018Publisher: PacktISBN-13: 9781788835015

Authors (2)

author image
Adam Boduch

Adam Boduch has been involved in large-scale JavaScript development for nearly 15 years. Before moving to the frontend, he worked on several large-scale cloud computing products using Python and Linux. No stranger to complexity, Adam has practical experience with real-world software systems and the scaling challenges they pose.
Read more about Adam Boduch

author image
Christopher Pitt

Christopher Pitt is a principal developer for SilverStripe in Wellington, New Zealand. He usually works on open source software, though sometimes you'll find him building compilers and robots.
Read more about Christopher Pitt