Replies: 1 comment 1 reply
-
Expo currently requires that RNfWeb is installed for web support. See the example app in this repo https://github.com/facebook/react-strict-dom/blob/main/apps/examples/package.json I hope this is a limitation that can eventually be removed cc @EvanBacon |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i have a question about Expo web support using react-strict-dom.
I am trying to use react-strict-dom as an alternative to react-native-web, but it looks like i need to install react-native-web for web support in project.
Is there a way for me to use react-strict-dom on web with Expo without react-native-web dependency since Expo is recommended solution for creating apps with react strict dom by the docs?
I initialized blank expo template project, configured environment steps by steps from RSD docs and then when i run the project on web it says:
"It looks like you're trying to use web support but don't have the required dependencies installed.
Please install react-native-web@~0.19.13 by running:
npx expo install react-native-web
If you're not using web, please ensure you remove the "web" string from the platforms array in the project Expo config."
current dependencies in the project:
"dependencies": {
"@expo/metro-runtime": "~4.0.1",
"expo": "~52.0.46",
"expo-status-bar": "~2.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-native": "0.76.9",
"react-strict-dom": "^0.0.34"
},
Beta Was this translation helpful? Give feedback.
All reactions