by Zombieball · 9y ago · 0 comments
Perhaps even the view layers could have some overlap?
I currently work on a team that supports multiple native Android apps and an Angular 1.X web app. The ability to reuse code in this fashion is the biggest lure to React for me. I've seen a few blog articles that cover this topic at a shallow level. If anyone has resources they could share it would be much appreciated.
Just git clone and start playing around with it. Great docs as well.
> code shared across platforms (browser, server, native mobile)
I'll definitely have to take a closer look. Thanks!
If I only had more time... I'd love to write a guide on that. That really is a great idea!
I recently copied the entire state management part (done with redux) to a react native app and it just worked. Was a really cool thing to see. If I had RN in mind when I first made the site, it could have even more reuse.