Запитання 5
How do you handle platform-specific code in React Native?
Варіанти відповідей
Using Platform.OS API, Platform.select method, and platform-specific file extensions like .ios.js or .android.js
By compiling separate binaries for each platform without shared code
Only by using inline conditional comments inside JavaScript files
By writing native code directly in JavaScript without any platform checks