Resetting the React Native packager Cache
When getting helpful messages like “Unhandled JS Exception: TypeError”
in React Native after messing with the .babelrc
file, it's fairly essential to clear the cache. The full command to do that is:
./node_modules/react-native/packager/packager.sh start --resetCache