-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding the Redux dev tools? #21
Comments
I'm considering it but haven't had a chance to try them myself yet. If someone submits a PR I'd likely merge it. |
I'm nowhere yet, but since you're interested: I followed their tutorial and made a (extremely minimalistic) start at https://github.com/barrystaes/react-slingshot/tree/feature-devtools My next step would be "Exclude DevTools from Production Builds" but i'm not sure how to do that in react-slingshot without seperating the |
Off the top of my head, you could look at webpack.hotModuleReplacementPlugin(). Then in Similarly, in Does that make sense? |
@barrystaes The webpack.config.js in this project is actually a factory for a webpack config. You pass it an environment and it returns a config. So no separate file is necessary. Anyway, thanks Barry. I want to spend some time getting comfortable with the Redux devtools. Looks like you've got a great start. |
Ok thanks! With your suggestions i completed my feature-devtools branch. I kept the code minimal. Choices i made; (all covered in their tutorial)
Just clone and build, it works comfortably. :) Things i could improve on? Do you want me to make a PR? |
Wow, this looks great! I'm eager to try it out! And yes, a PR would be great. 👍 |
For posterity: PR #27 was not merged but i'll leave https://github.com/barrystaes/react-slingshot/tree/feature-devtools available for now. |
I was wondering if there are plans to add redux-devtools because it looks useful. Or should i be fine without? Not sure if its bloat or not..
I'm no expert on redux, just giving it a spin.
The text was updated successfully, but these errors were encountered: