redux-devtools/README.md

31 lines
879 B
Markdown
Raw Permalink Normal View History

2015-07-14 22:46:44 +03:00
Redux DevTools
=========================
2015-07-15 00:15:04 +03:00
Haha. README coming. Also not on NPM yet.
2015-07-15 00:32:47 +03:00
### Running Examples
2015-07-15 00:15:04 +03:00
In the meantime, you can do this:
```
git clone https://github.com/gaearon/redux-devtools.git
cd redux-devtools
npm install
cd examples/counter
npm install
npm start
open http://localhost:3000
```
2015-07-15 00:20:04 +03:00
Try clicking on actions in the log, or changing some code inside `examples/counter/reducers/counter`.
2015-07-15 00:15:04 +03:00
For fun, you can also open `http://localhost:3000/?debug_session=123`, click around, and then refresh.
2015-07-15 00:26:06 +03:00
Oh, and you can do this with the TodoMVC example as well.
2015-07-15 00:32:47 +03:00
### It's Ugly!
The design or usability is not the point. (Although we'll have better design in the future :-)
You can build a completely custom UI for it because `<DevTools>` accepts a `monitor` React component prop. You can build any UI you want for it. The included `LogMonitor` is just an example.