Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With React Native Web, that's exactly what this gives you.

Basically you get a PWA for free with your app. All "native" features that you have can then use web device apis if they exist.

Basically React Native Web allows you to have a lite version of your app that lives on the web.



Yes, but then you must use React Native. What I’m describing is that you could use regular JavaScript to access native apis.

That way if you preferred Vue, Angular, Ember, Elm, etc you could use that.


Well you can, but the point of React is to abstract the view from the platform, not much more.

You can use something like Solid or JSX lite to maintain standard components that are compatible with most of those frameworks and web components.


Whether the view is abstracted from the platform and whether you have native access to apis are separate issues.

Even if you use web components that doesn’t change the fact that web apps don’t have access to native apis without compilation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: