-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Doesn't work with webpack 3.10.0 #3516
Comments
hi there, we don't explicitly support web or reactxp currently. if you'd like to submit a RFC for how we could do that and own it, it would be nice. it's not a priority right now. so this is more of a feature request than a bug. sorry :( |
Hi @brentvatne I recognize you don't support reactxp, I was looking at providing that support myself! Looking at the source code, I see that you have What is your policy re: the existence/implications of that file / what do you mean in the context of web-support? I'd be happy to add a PR that documents the state of the universe & how to build under Webpack and spend time making an RFC on how to make the navigator methods / pattern more pluggable. -- If only you could enlighten me to the team's viewpoint on the matter and whether that would be a supported direction for this project. |
need to add babel-loader config for this. you can install create-react-native-app ( |
Current Behavior
I made a simple set of StackNavigators which work great in react-native.
Then I went to use the same set of StackNavigators in the browser.
What I saw was a ton of errors like the following:
Expected Behavior
I expected to have the code successfully load into the browser, and then fail when it actually tried to hit concrete
react-native
views. Then my plan was to re-implement the RN-views that are needed under ReactXP.This error is occurring before that point.
I found a related issue: #188 that suggests that
react-navigation
is shipping code that needs to be transpiled before webpack can use it.How to reproduce
react-native init
,StackNavigator
that pushes to a couple screensYour Environment
Note: I don't believe typescript/reactxp versions have a bearing on this issue, I'm sharing them in order to have full transparency.
The text was updated successfully, but these errors were encountered: