Dr.B.Muthukumaraswamy. PhD

The Promise made

When porting a React Native app to android 85% of the iOS version was reused


Yeah, the promise is not "write once, run everywhere". It's 1) write in a familiar way and 2) reuse a substantial amount.


“Don’t repeat yourself. It’s not only repetitive, it’s redundant, and people have heard it before.”

— Lemony Snicket

Is it True

Yes, with a Caveat

React Web app | React Native iOS and Android 

iOS and Android

Platform module code

Filename suffixes

Architecture Matters

Logic out of Views

Presenters and Dispatchers

Logic Should be Cross platform

Small and modular views

React Web  compile

Separate Modules

npm link

Sharing With Multiple projects


Dependency Hell

Architecture Matters


Dr.B.Muthukumaraswmay. PhD

Made with Slides.com