

Minor platform differences can use the Platform module. Expo includes web support and takes care of all the configuration work required.

If you are interested in making a multi-platform app it is strongly recommended that you use Expo (or learn from the source code for the Web integration). Additionally, 3rd party React Native packages with web support are listed in the React Native Directory. If you have an existing React Native application, there are more areas that require attention and customization before most web bundlers can consume the non-standard JavaScript in packages produced by the React Native ecosystem. How to integrate React Native for Web into an existing React Native codebase.
