Why nativewind v4? #89
-
Currently, I'm using NativeWind v2 in my project, but I came across this library. I was wondering why there is a need for NativeWind v4, as it is unreleased and still in development? Are there any breaking changes from v2 to v4? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The main reason is CSS variables. CSS variables allow us to set colours for light and for dark mode and facilitates theming. You can find the other advantages here: NativeWind v4 Announcement |
Beta Was this translation helpful? Give feedback.
-
Okay, makes sense. Thanks! |
Beta Was this translation helpful? Give feedback.
The main reason is CSS variables.
CSS variables allow us to set colours for light and for dark mode and facilitates theming.
You can find the other advantages here: NativeWind v4 Announcement