Redux devtools
This could well be the best React developer experience out there:
- static typing
- hot reloading using the latest React Transform
One thing that would be awesome would be to include the Redux Devtools:
- https://github.com/zalmoxisus/redux-devtools-extension#implementation
- https://github.com/gaearon/redux-devtools/blob/master/docs/Walkthrough.md
Thanks for keeping the dependencies up-to-date
David
Actually, I got this working, with only a couple of line changes, and nothing else installed!
- changed
createStoreinindex.tsx
declare var window:any;
function configureStore():Store {
const store:Store = createStore(
counterApp,
{counters: []},
window.devToolsExtension ? window.devToolsExtension() : undefined
);
// the rest of the function is unchanged
- changed the
createStoredefinition inredux.d.ts
function createStore(reducer: Reducer, initialState?: any, opts?:any): Store;
Apparently the optional 3rd parameter is new in redux 3.1 onwards.
Thanks for the kind words! Having this wrapped up in a PR maybe would be nice.
Personally, I think the one thing that's missing is testing. After that, then it'd be one step closer to ~~world domination~~ the best React dev experience out there :smile:
fair point!