Repository navigation
|
Hi, I am getting this error after adding this into my App.js AppRegistry.registerComponent("App", () => App); AppRegistry.runApplication("App", { I was following the documentation from https://necolas.github.io/react-native-web/ |
Answered by
zoontek
Oct 6, 2026
Replies: 1 comment
|
|
0 replies
Answer selected by
zoontek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
runApplicationwithdocument.getElementByIdmust only run on web. Put it in a web entry file such asindex.web.js, as in https://necolas.github.io/react-native-web/docs/rendering/. Closing.