3
3
### Installation
4
4
5
5
```
6
- yarn add remotedev -serialize
6
+ yarn add redux-devtools -serialize
7
7
```
8
8
9
9
### Usage with ImmutableJS data structures
@@ -12,7 +12,7 @@ Just pass the Immutable library to our class:
12
12
13
13
``` js
14
14
import Immutable from ' immutable' ;
15
- import Serialize from ' remotedev -serialize' ;
15
+ import Serialize from ' redux-devtools -serialize' ;
16
16
const { stringify , parse } = Serialize .immutable (Immutable);
17
17
18
18
const data = Immutable .fromJS ({ foo: ' bar' , baz: { qux: 42 } });
@@ -32,7 +32,7 @@ To parse a Record class back, you need to specify a reference to it:
32
32
33
33
``` js
34
34
import Immutable from ' immutable' ;
35
- import Serialize from ' remotedev -serialize' ;
35
+ import Serialize from ' redux-devtools -serialize' ;
36
36
37
37
const ABRecord = Immutable .Record ({ a: 1 , b: 2 });
38
38
const { stringify , parse } = Serialize .immutable (Immutable, [ABRecord]);
@@ -52,7 +52,7 @@ You can pass custom replacer and reviver functions to Serialize:
52
52
53
53
``` js
54
54
import Immutable from ' immutable' ;
55
- import Serialize from ' remotedev -serialize' ;
55
+ import Serialize from ' redux-devtools -serialize' ;
56
56
57
57
function customReplacer (key , value , defaultReplacer ) {
58
58
if (value === 1 ) {
0 commit comments