NativeWind vs twrnc for react native(+web) Tailwind solution?
Seems like NativeWind is a bit newer and has a nice Babel plugin that makes it feel like developing for web, but twrnc has been around a bit longer and has more interesting functionalities like ios: android:.
Has anyone tried either?
5 Replies
I’ve used both and think I prefer nativewind. They’re both great though
Also don’t use react native for web.
how come!
You’ll end up spending more time fiddling with it to work on both platforms than if you just had a separate codebase IMO
Theo recommends against it too, don’t remember which video he talked about it
If you need to use both web and native I’d checkout create-t3-turbo
https://github.com/chamatt/create-kaol-app
was thinking of this one actually!
talked about in this discussion: https://discord.com/channels/966627436387266600/1033850946385625118