Skip to content
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

React 0.14 #127

Closed
ronag opened this issue Sep 23, 2015 · 8 comments
Closed

React 0.14 #127

ronag opened this issue Sep 23, 2015 · 8 comments

Comments

@ronag
Copy link

ronag commented Sep 23, 2015

Currently redux-devtools is what is stopping me from upgrading to React 0.14.

Warning: React.findDOMNode is deprecated. Please use ReactDOM.findDOMNode from require('react-dom') instead.

in LogMonitor.

@gaearon
Copy link
Contributor

gaearon commented Sep 23, 2015

Is 0.14 released? It does not appear so.

We can't just go ahead and break compatibility with React 0.13 for the sake of a single warning until 0.14 is released as a stable version.

@gaearon gaearon closed this as completed Sep 23, 2015
@gaearon
Copy link
Contributor

gaearon commented Sep 23, 2015

(To clarify: there are a few PRs fixing 0.14 warnings and I'll merge them when it's out, but not before that.)

@gaearon
Copy link
Contributor

gaearon commented Sep 23, 2015

And note that it's not really stopping you. It looks like an error but it's just a soft warning. Ignore it and you'll be fine.

@tomatau
Copy link

tomatau commented Sep 28, 2015

If you don't like the error because of OCD (like me) or whatever... I've made a temporary fork here:

package.json

"devDependencies": {
  "redux-devtools": "git+ssh://git@github.com:tomatau/redux-devtools.git",

Simply uses ReactDOM for findDOMNode instead of react.

I'll be deleting the fork when fixes merged.

@lraivio
Copy link

lraivio commented Sep 28, 2015

Thanks @tomatau !
Always nice to get rid of unnecessary warnings.

@tomatau
Copy link

tomatau commented Sep 28, 2015

NP! Word of warning... heroku can't npm install from github... so have published this to npm as redux-devtools-14... which makes me feel very dirty.

[edit]:

"devDependencies": {
  "redux-devtools": "tomatau/redux-devtools",

Any chance a fix can be merged for this instead as it's such a tiny fix.

src/react/LogMonitor.js

import React, { PropTypes, findDOMNode, Component } from 'react';

becomes:

import React, { PropTypes, Component } from 'react';
import { findDOMNode } from 'react-dom';

I would make the PR here but tests wouldn't run locally for me and don't have time to debug why.

@tomatau
Copy link

tomatau commented Sep 28, 2015

Got the tests running locally (bad npm version) and made a tiny PR
#135

@gaearon
Copy link
Contributor

gaearon commented Sep 28, 2015

It's a tiny fix but it breaks 0.13 compatibility.

dvdzkwsk pushed a commit to dvdzkwsk/react-redux-starter-kit that referenced this issue Oct 2, 2015
reduxjs/redux-devtools#127
(temporarily install patched redux-devtools until 0.14 is officially released)

Add repo field to package.json to silence npm warning

Document the need to allow popups for `npm run dev:nw` #110

Use https:// rather than ssh:// for temporary redux-devtools patch
also, specify the only change necessary to fix console warnings
tomatau/redux-devtools@d77ef99

Update monkey-patched redux-devtools to include built files

Wait for the redux-devtools window to finish reloading before inserting our target node
rissole pushed a commit to rissole/wow-trivia that referenced this issue Apr 29, 2017
reduxjs/redux-devtools#127
(temporarily install patched redux-devtools until 0.14 is officially released)

Add repo field to package.json to silence npm warning

Document the need to allow popups for `npm run dev:nw` #110

Use https:// rather than ssh:// for temporary redux-devtools patch
also, specify the only change necessary to fix console warnings
tomatau/redux-devtools@d77ef99

Update monkey-patched redux-devtools to include built files

Wait for the redux-devtools window to finish reloading before inserting our target node
charmingdev222 pushed a commit to charmingdev222/react-redux-kit that referenced this issue May 16, 2023
reduxjs/redux-devtools#127
(temporarily install patched redux-devtools until 0.14 is officially released)

Add repo field to package.json to silence npm warning

Document the need to allow popups for `npm run dev:nw` #110

Use https:// rather than ssh:// for temporary redux-devtools patch
also, specify the only change necessary to fix console warnings
tomatau/redux-devtools@d77ef99

Update monkey-patched redux-devtools to include built files

Wait for the redux-devtools window to finish reloading before inserting our target node
leonhiat added a commit to leonhiat/react-redux-starter-kit that referenced this issue Oct 31, 2023
reduxjs/redux-devtools#127
(temporarily install patched redux-devtools until 0.14 is officially released)

Add repo field to package.json to silence npm warning

Document the need to allow popups for `npm run dev:nw` #110

Use https:// rather than ssh:// for temporary redux-devtools patch
also, specify the only change necessary to fix console warnings
tomatau/redux-devtools@d77ef99

Update monkey-patched redux-devtools to include built files

Wait for the redux-devtools window to finish reloading before inserting our target node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@gaearon @lraivio @tomatau @ronag and others