How to clean react native project?
Is there any way to clean react native project as we can clean xcode project?
Any help will be appreciated!
React Native Clean ProjectCleans your React Native project by purging caches and modules, and reinstalling them again.
To clean cache in react native, open terminal, go to your project android folder, and run gradlew clean command it will clear react native cache.
A react-native Project is about one XCode Project and one Android Project. (for pure js code, there's no need to do clean)
So, what you need would be
Clean XCode Project with
cd ios xcodebuild clean
And then clean Android Project with
cd android ./gradlew clean
You can simply write a batch file for it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With