Hacker News new | ask | show | jobs
by psnehanshu 150 days ago
There's also React Native Web
1 comments

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