redux-import-export-tool

2.0.0 • Public • Published

npm version semantic-release Build Status

Redux Import Export Monitor

A simple monitor for Redux DevTools that enables exporting, then importing the serialized state of a Redux application. It looks like a prompt() modal, but without as small of a character limit.

Warning: This tool has limited use with extremely large app states.

Installation

npm install --save-dev redux-import-export-monitor

Usage

Include the monitor while setting up the DevTools:

containers/DevTools.js
import React from 'react';
import { createDevTools } from 'redux-devtools';
import ImportExportMonitor from 'redux-import-export-monitor';
 
export default createDevTools(<ImportExportMonitor />);

Use cmd-shift-e (or your preferred key-binding) to open the monitor, which provides the current serialized app state. Paste in the app state from a different DevTools session to "import" the state and actions of that session into the current session.

Props

Name Description
toggleModalKey A string (see parse-key) to be used to open the monitor.

License

MIT

/redux-import-export-tool/

    Package Sidebar

    Install

    npm i redux-import-export-tool

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    23.8 kB

    Total Files

    14

    Last publish

    Collaborators

    • zakangelle