Refactor export data functions and exportpersistedstate function to just expect state

Summary: This diff refactors the `exportpersistedstate` and few of the functions in exportData.tsx to just expect the Redux State instead the store object.

Reviewed By: mweststrate

Differential Revision: D18733011

fbshipit-source-id: 56739917b49142ba4b6e79e7c16378fe60d6ac3b
This commit is contained in:
Pritesh Nandgaonkar
2019-11-28 03:47:32 -08:00
committed by Facebook Github Bot
parent bf85da17ab
commit ca53f35875
9 changed files with 32 additions and 30 deletions

View File

@@ -31,7 +31,7 @@ export {selectPlugin, StaticView} from './reducers/connections';
export {writeBufferToFile, bufferToBlob} from './utils/screenshot';
export {getPluginKey, getPersistedState} from './utils/pluginUtils';
export {Idler} from './utils/Idler';
export {Store, MiddlewareAPI} from './reducers/index';
export {Store, MiddlewareAPI, State as ReduxState} from './reducers/index';
export {default as BaseDevice} from './devices/BaseDevice';
export {default as SidebarExtensions} from './fb-stubs/LayoutInspectorSidebarExtensions';
export {