react-native-windows-samples icon indicating copy to clipboard operation
react-native-windows-samples copied to clipboard

Create page for the Windows/macOS specific aspects of "Platform Specific Code"

Open chrisglein opened this issue 3 years ago • 1 comments

This page exist in the main documentation: https://reactnative.dev/docs/platform-specific-code I don't think we have a clear place in the documentation that covers what strings to use for Platform.select, for example. We should at least highlight that, if not any other information/tips for people to organize their platform code.

chrisglein avatar Jul 09 '20 22:07 chrisglein

Correct string for Windows should be "windows". Not sure what the macOS one is. Should be able to look at what Platform.OS reports.

chrisglein avatar Jul 13 '20 18:07 chrisglein