You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[React-native 0.56] [Toggle Inspector] renderer.getInspectorDataForViewTag is not a function #21065
changed the title [-][ React-native 0.56 ] [ Toggle Inspector ] renderer.getInspectorDataForViewTag is not a function[/-][+][React-native 0.56] [Toggle Inspector] renderer.getInspectorDataForViewTag is not a function[/+]on Sep 12, 2018
It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists.
The ":rewind:Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.
Reacted by TranLuongTuanAnh, Dondoko Susumu, 90DY and liujb
I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.
If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.
Found out the solution to this problem for us. We had a library, react-metrics, from which we imported a single named export. Turns out the lib goes ahead and enables screen tracking (taps, gestures) metrics for you even if you don't import those other functions. So we did a deep import e.g. import blah from react-metrics/some/sub/folder and this resolved the issue.
Found out the solution to this problem for us. We had a library, react-metrics, from which we imported a single named export. Turns out the lib goes ahead and enables screen tracking (taps, gestures) metrics for you even if you don't import those other functions. So we did a deep import e.g. import blah from react-metrics/some/sub/folder and this resolved the issue.
Activity
[-][ React-native 0.56 ] [ Toggle Inspector ] renderer.getInspectorDataForViewTag is not a function[/-][+][React-native 0.56] [Toggle Inspector] renderer.getInspectorDataForViewTag is not a function[/+]react-native-bot commentedon Sep 12, 2018
It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists.
The ":rewind:Old Version" label will be removed automatically once you edit your original post with the results of running
react-native infoon a project using the latest release.jeffmwells commentedon Sep 18, 2018
Can confirm that upgrading to 0.57.0 of just the react-native package.json dependency did not fix the issue.
react-native-bot commentedon Oct 3, 2018
I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.
If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.
jeffmwells commentedon Nov 28, 2018
Found out the solution to this problem for us. We had a library,
react-metrics, from which we imported a single named export. Turns out the lib goes ahead and enables screen tracking (taps, gestures) metrics for you even if you don't import those other functions. So we did a deep import e.g.import blah from react-metrics/some/sub/folderand this resolved the issue.GuoguoDad commentedon Jan 24, 2019
could you code here ?
TranLuongTuanAnh commentedon Jan 25, 2019
@CxxyLucifer
My solution is here: https://github.com/facebook/react-native/pull/21237/files
GuoguoDad commentedon Jan 28, 2019
3Q, nice
cpojer commentedon Jan 28, 2019
I'll land the attached PR to fix this issue.
Fix issue #21065 getInspectorDataForViewTag is not a function (#21237)