Skip to content

Commit 20b5065

Browse files
committed
add deserializeState deserializeAction to README
1 parent b1aff29 commit 20b5065

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ If you do not know what [Redux DevTools](https://github.com/gaearon/redux-devtoo
8181
`window.devToolsExtension([config])`
8282
- **config** arguments (optional)
8383
- **name** (*string*) - the instance name to be showed on the monitor page. Default value is `document.title`.
84+
- **deserializeState(state): transformedState** (*function*) - optional transformation of state deserialized from debug session (useful if state is not plain object. Example: immutable-js state)
85+
- state, transformedState - Redux state objects
86+
- **deserializeAction(action): transformedAction** (*function*) - optional transformation of actions deserialized from debug session (useful if actions are not plain object. Example: immutable-js action payload)
87+
- action, transformedAction - Redux action objects
8488

8589
## Examples
8690
Open these urls to test the extension:

0 commit comments

Comments
 (0)