Do you think it's possible to get this working in the browser?
See original GitHub issueI’m curious if you think it’s possible to get this working with react-native-web
as well as a mobile device.
Would all I need to do is include react-native-web
as a module in the wormhole and modify the babel output to support RNW?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >Learn how browsers are working together to make it easier to ...
Making a web application work in the same way across browsers can be hard. Learn why these interoperability problems happen, how browsers ......
Read more >Internet Basics: Using a Web Browser - GCF Global
A web browser is a type of software that allows you to find and view websites on the Internet. Even if you didn't...
Read more >Working in the Browser Sucks - Medium
Most of us love cloud software, but working in the browser can be cluttered and cumbersome. The proliferation of cloud software like Google ......
Read more >How the web works - Learn web development - MDN Web Docs
So what happens, exactly? · The browser goes to the DNS server, and finds the real address of the server that the website...
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
Don’t get your hopes up. 😛
The thinking here was that Webpack should make the appropriate decision for us, so even though we’re saying
require('react-native')
, it should still just importreact-native-web
because that will have been rewritten.Hello! I think this should work fine in a browser. I don’t think there’s anything specific to the native runtime that we’re doing with this module.
Yes that’s right.
react-native-web
uses Webpackalias
es to remap references fromreact-native
toreact-native-web
, but since this happens at build time it means you’d probably have to emulate a similar behaviour at runtime when aWormhole
tries to resolve a dependency. So yeah, sounds like you hit the nail on the head.You should be able to experiment with this directly using the Example App.