Debugging
All platforms
2.0.0
Debugging Unistyles depends on the platform you are using. Some older methods of debugging may no longer work. Follow this guide to learn how to debug for your specific platform.
Bare React Native / macOS
If you are using bare React Native, you can use the new React Native Debugger. You can also use native tooling like Xcode or Android Studio.
Expo
For Expo, you can use the Expo DevTools or the debugger for React Native.
Web
For web applications, you can use the browser’s DevTools.
SSR
If you are using SSR, you can utilize the browser’s DevTools / NodeJS tooling.
Other ways
If you are unsure how to debug, you can always use console.log
to log values to the console.