- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
I've get an "isMounted(...) is deprecated in plain javascript react classes" error with this dependencies, I wanna know that is there any problem with react-navigation with with "react": "16.3.1",
or not?
"dependencies": {
"prop-types": "^15.6.1",
"react": "16.3.1",
"react-native": "0.55.2",
"react-navigation": "^1.5.11"
},
codler, justincrow, oli-laban, peter-mach, vshab and 22 moreTheGreatAndrew
Activity
codler commentedon Apr 11, 2018
I get the same warning after upgrading to react native 0.55.2
jsina commentedon Apr 11, 2018
@codler I think it's for some changing in new version of react. I've find the link below. but the problem is for react-navigation api, because it's used some deprecated method.
https://medium.com/@baphemot/whats-new-in-react-16-3-d2c9b7b6193b
kk412027247 commentedon Apr 11, 2018
I also get the same warning, still can't fix it
Ayyagaries commentedon Apr 11, 2018
Same here this is what I see

Matgsan commentedon Apr 12, 2018
Same problem here
kk412027247 commentedon Apr 12, 2018
I add this code to index.js, so that i can ignore this warnning.
hhw3KevinHou commentedon Apr 12, 2018
I got this too, and searched whole react-navigation in node_modules did not find 'isMounted()'. Weird.
Rah1x commentedon Apr 12, 2018
any solution?!!
Rah1x commentedon Apr 12, 2018
@hhw3KevinHou

Rah1x commentedon Apr 12, 2018
If you look at this entry, it was indicative enough that its going away since 2015!!. and here we are in 2018 still using it:
moreartyjs/moreartyjs#84
hhw3KevinHou commentedon Apr 12, 2018
@Rah1x looks like isMounted() is not in react-navigation directory.
Rah1x commentedon Apr 12, 2018
@hhw3KevinHou
true, however this issue only came just right now as I updated react-navigation of a fine app
derekbar90 commentedon Apr 12, 2018
I can confirm this issue as well.
Rah1x commentedon Apr 12, 2018
I just followed @kk412027247 and ignored it.. not that doesnt solve the issue
PanRada commentedon Apr 12, 2018
have same happend on new app
28 remaining items