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

ERROR Warning: Component "CodePushComponent" contains the string ref "rootComponent" #2701

Closed
indobenua opened this issue May 22, 2024 · 3 comments

Comments

@indobenua
Copy link

ERROR Warning: Component "CodePushComponent" contains the string ref "rootComponent". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref
in CodePushComponent
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer

My app
react-native info
installed: 0.74.1

node -v
v20.12.2

npm -v
10.5.0

code-push -v
3.0.0

@DmitriyKirakosyan
Copy link
Contributor

@indobenua thank you for the report. Could you please provide more details about your environment and the steps to reproduce the issue?

code-push -v
3.0.0

Did you mean appcenter-cli version 3.0.0? if so, please specify your react-native-code-push version as well.
Have you tried using appcenter-cli version 2.*?

@fmedinaUtoppia
Copy link

Screenshot 2024-06-05 at 3 53 07 PM

I guess this the reference. This is in CodePush.js from react-native-code-push from node_modules

@DmitriyKirakosyan
Copy link
Contributor

The fix has been released.

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

3 participants