File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 24
24
25
25
## Set Display names
26
26
27
- ### Display name for Context API
27
+ #### Display name for Context API
28
28
29
29
- set ` dispayName ` props in ` Provider `
30
30
42
42
MyContext .displayName = " Context Display Name" ;
43
43
```
44
44
45
- ### Display name for useReducer
45
+ #### Display name for useReducer
46
46
47
47
- reducer function name is use as displayName in debug
48
48
49
+ ## Settings
50
+
51
+ - <b >Chrome</b > : right click on react-context-devtool icon and click on "Options"
52
+ - <b >Firefox</b > : right click on react-context-devtool icon and click on "Manage Extenstion" and select "Preferences" tab
53
+
54
+ | Name | Type | Default | Description |
55
+ | ------ | ------ | ------ | ------ |
56
+ | Start Debugging | On Extensions Load | ` true ` | Start data capturing after extenstion is opened in dev panel (recommended) |
57
+ | | On Page Load | ` false ` | Start data capturing after page load |
58
+ | Enable Debug | useReducer | ` true ` | enable/disable useReducer debug. Available only in development mode |
59
+ | | Context | ` true ` | enable/disable context debug |
60
+
49
61
50
62
## License
51
63
You can’t perform that action at this time.
0 commit comments