DEV Community

Discussion on: Share Code Between React Native and React.js

Collapse
 
kpiteng profile image
kpiteng

We can use only JS Code which are not dependent on any of either React Native/ React.js library. Example - If you want to share code which uses React Native Async Storage then that will create issue in React.js - as React.js don't have that library. But yes whatever common code / pure JS code we can share across both apps.