You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/API/Methods.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,14 +48,14 @@ Send a new action and state manually to be shown on the monitor.
48
48
49
49
##### Arguments
50
50
51
-
-[`config`]*Object* intended to be the same as for [Redux store enhancer](Arguments.md#windowdevtoolsextensionconfig). For now only `instanceId` should be specified.
51
+
-[`config`]*Object* intended to be the same as for [Redux store enhancer](Arguments.md#windowdevtoolsextensionconfig). For now only `instanceId`and `shouldStringify`should be specified.
52
52
53
53
##### Returns
54
54
*Object* containing the following methods:
55
55
56
56
-`subscribe(listener)` - adds a change listener. It will be called any time an action is dispatched form the monitor.
57
57
-`unsubscribe()` - unsubscribes the change listener. You can use [window.devToolsExtension.disconnect](#windowdevtoolsextensiondisconnect) to remove all listeners.
58
-
-`send(action, state)` - sends a new action and state manually to be shown on the monitor.
58
+
-`send(action, state)` - sends a new action and state manually to be shown on the monitor. If action is `null` then we suppose we send `liftedState`.
59
59
60
60
[See the example for an example on usage](https://github.com/zalmoxisus/redux-devtools-extension/blob/master/examples/react-counter-messaging/components/Counter.js).
0 commit comments