jaredh159 / tailwind-react-native-classnames

simple, expressive API for tailwindcss + react-native
2.03k stars 82 forks source link

What is the minimum version of support for reactnative? #308

Closed faimin closed 2 months ago

faimin commented 2 months ago
  "dependencies": {
    "tailwindcss": ">=2.0.0"
  },
  "peerDependencies": {
    "react-native": ">=0.63.0"
  },

the minimum version of support for reactnative is 0.63.0 ?

jaredh159 commented 2 months ago

that's what's listed now. i think because that was the version of RN when i first created the project.

are you trying to build for RN older than 0.63.0? my guess is it should work fine, although some of the utilities may not work if they are leveraging newer style props. i'd be open to moving the min version back if you can show that it work fine with older versions

faimin commented 2 months ago

yes, the version we are using is 0.62.2. I will try it later, thanks for your answer.

faimin commented 2 months ago

awesome, it works in my project that ReactNative version is 0.62.2. You are right, i think it support lower version of RN as you said.

jaredh159 commented 1 month ago

thanks for reporting back. tagged 4.5.1 with the new minimum version