Code sharing between React and React Native applications
· 8 minute readSharing code between the web and native was one of the most interesting React Native questions since its appearance. It wasn’t the original goal of the React Native but when all our code base is written in one language it’s a natural desire to remove code duplication and reuse as much code as possible. The approach I’m going to explain is based on the fact that React Native loads platform specific Javascript modules based on their extensions.
Read more... React Native