Hacker News new | ask | show | jobs
by exac 148 days ago
As someone who doesn't use React, there is React Native (for iOS & Android), and React (and that can be server-rendered or client-rendered).
2 comments

There's also React Native Web
I'm sorry what
I find it is a good idea, it allows developers to cleanly define how to structure elements without random divs sneaking in.

It requires a strong design system and it probably makes it harder to use some web APIs but those can be reasonable tradeoffs

Speaking of which, is there a Tailwind CSS equivalent for React Native? I find passing `style` objects around (ala CSS Modules) to be a pain after using Tailwind for so long in web projects.

EDIT: Found one that's going v5 soon, looks nice. https://www.nativewind.dev/

In case you want to use React to make Web sites as well.
They should make a version of that runs as an app on a phone
They have one, it's called React Native Web Native
Twitter is built in React Native Web
There was also react vr