Y
Hacker News
new
|
ask
|
show
|
jobs
by
Kiro
3356 days ago
How do you use React Native on the web?
3 comments
migueloller
3356 days ago
You can use React Native for Web [1].
[1]
https://github.com/necolas/react-native-web
link
zura
3356 days ago
There are several React Native web players. One is used in their documentation site.
link
Kiro
3356 days ago
Is that really comparable though? You use that when you want to demo React Native on the web. This means you can actually code for both platforms.
link
zura
3354 days ago
Right, AFAIK none of the available players are advertised as official ways to run apps in production.
link
roryisok
3356 days ago
Well, in case of the web I meant react
link
marksomnian
3356 days ago
And that's the thing. You need to reimplement your UI code separately for react and react-native. react-xp abstracts all that away.
link
TomMarius
3356 days ago
That's something different though. It looks similar, but there are differences - and this library is solving them.
link
[1] https://github.com/necolas/react-native-web