react-native-web can not supported
See original GitHub issueIs your feature request related to a problem? Please describe.
when i use react-native-web
to transf my react-native code it use react-native-modalize ,I have some error , May i know react-native-modalize
can run on web ?like PWA(https://web.dev/progressive-web-apps/) or if i want to run may react-native code to web,how i do,Thank you very mach
Describe the solution you’d like
A clear and concise description of what you want to happen.
Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
React Navigation does not work with React Native Web
I am using react-native-web to build web apps. Here is my code: import React from 'react' import { View, ...
Read more >react-native-web - npm
"React Native for Web" makes it possible to run React Native components and APIs on the web using React DOM. Documentation. The documentation ......
Read more >How to Make Your React Native Apps Work on the Web - Retool
1. Limited web API support. Not all APIs that are available in React Native are available in React Native for Web. · 2....
Read more >React Native · Learn once, write anywhere
You can use React Native today in your existing Android and iOS projects or ... React Native lets you create truly native apps...
Read more >Platform Specific Code - React Native
You can also use the .native.js extension when a module needs to be shared between NodeJS/Web and React Native but it has no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah works nicely on my side! I didn’t do anything to the RN code, and now when I look back, I didn’t do anything special in my webpack.config.js or my babel.config.js, but yeah most importantly I didn’t change the application code.
Here’s my webpack and babel files – something in here made it work but I cant explicitly remember what anymore 😃
I think it could have been using the appropriate resolves and including the
react-native-modalize
andbabel-polyfill
module in the compileNodeModules?Working configuration files below:
webpack.config.js
babel.config.web.js
I actually got it working quite easily - at least it builds ok – haven’t tested the UI just yet. Will post what I did to get it to build at least a bit later today.