Hacker News new | ask | show | jobs
by hunterb123 1751 days ago
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.

1 comments

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.