Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Kiro
· 9y ago · 0 comments
How do you use React Native on the web?
Comments
[–]
migueloller
9y ago
You can use React Native for Web [1].
[1]
https://github.com/necolas/react-native-web
[–]
zura
9y ago
There are several React Native web players. One is used in their documentation site.
[–]
Kiro
OP
9y 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.
[–]
zura
9y ago
Right, AFAIK none of the available players are advertised as official ways to run apps in production.
[–]
roryisok
9y ago
Well, in case of the web I meant react
[–]
marksomnian
9y 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.
[–]
TomMarius
9y ago
That's something different though. It looks similar, but there are differences - and this library is solving them.