mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 11:03:57 +03:00
Update README.md
Tell how to monitor only a part of the state
This commit is contained in:
parent
9e9d23daf3
commit
5813c4c852
|
@ -31,6 +31,9 @@ open http://localhost:3000
|
|||
Try clicking on actions in the log, or changing some code inside `examples/counter/reducers/counter`.
|
||||
For fun, you can also open `http://localhost:3000/?debug_session=123`, click around, and then refresh.
|
||||
|
||||
If you only would like to monitor a part of the state, you can set a select-prop on the DevTools component.
|
||||
ex. <DevTools select={state => state.todos} store={store} monitor={LogMonitor} />
|
||||
|
||||
Oh, and you can do the same with the TodoMVC example as well.
|
||||
|
||||
### It's Ugly!
|
||||
|
|
Loading…
Reference in New Issue
Block a user