question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Move Redux DevTools to a separate package.

See original GitHub issue

Just 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
CharlesStovercommented, May 15, 2019

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.

0reactions
CharlesStovercommented, May 23, 2019

Sorry for the delay. This should be done now – or as soon as Travis CI deploys it to NPM.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found