Replies: 1 comment 1 reply
-
https://necolas.github.io/react-native-web/docs/multi-platform/ https://necolas.github.io/react-native-web/docs/unstable-apis/ |
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
-
Initially I thought https://github.com/necolas/react-native-web/tree/master/packages/babel-plugin-react-native-web was the magic that made this work, but the docs seemed to indicate that using this babel plugin is optional, and I tried not installing it and everything seemed to work (e.g. my web app with a devDependency on @types/react-native and a dependency on react-native-web works without error).
I'm trying to understand how this forwarding actually works for a couple reasons:
Any info on how this forwarding works and/or how other react native libs and achieve the same thing would be super helpful!
Beta Was this translation helpful? Give feedback.
All reactions