Move Redux DevTools to a separate package.
See original GitHub issueJust updated to 2.0.0 (yay!) but I’m getting build warnings in my create-react-app-based build scripts:
Compiled with warnings.
./node_modules/reactn/build/utils/redux-dev-tools.js
Module not found: Can't resolve 'redux' in '/Users/.../my-project/node_modules/reactn/build/utils'
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
[Proposal] Move instrumentation to a separate package #245
I'd be willing to try and get the Devtools.instrument() logic to a separate module, but do you think their should be some standard...
Read more >Redux Devtools for Dummies - codeburst
Install Redux browser dev-tools (Chrome and Firefox) · Install dev-tools npm package and import it into store file · Open developer tools with...
Read more >Redux DevTools: Tips and tricks for faster debugging
We will look into some extraordinary features that Redux DevTool offers that can help you debug your applications faster.
Read more >Setting Up Redux DevTools — A Simple Guide - Medium
Setting up Redux DevTools in a simple redux store · 1.Adding Redux DevTools extension to our browser (Google Chrome) · 2.Installing Dependencies ...
Read more >How to exclude / disable Redux devtools in production build ...
For hiding the Redux from devtools pay attention to the following code: import { createStore, applyMiddleware, compose } from 'redux'; ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like Webpack refuses to not throw this warning and is perfectly aware that it appears on all optional dependencies.
As a result, I think the best option is to move the Redux DevTools support out of ReactN’s base package and into a different package, as some sort of callback or middleware.
I’m going to deploy 2.0.1 today to resolve #73, so I’m punting this to 2.0.2. It is my top priority fix, but I want to make sure it is solved correctly and not rushed today. I’ll try to have it deployed before this weekend.
Sorry for the delay. This should be done now – or as soon as Travis CI deploys it to NPM.