DEV Community

Cover image for Behind the Scenes,React Native
Ashwini Padmanabhi
Ashwini Padmanabhi

Posted on

2

Behind the Scenes,React Native

Above explains the internal working of the react native application. Where the code can be divided in two parts such as special components(..etc) and the JavaScript code. Now the special components are only compiled to native views and not the JavaScript code. The JavaScript code is kept separately and is written according to the business logic. Now we can use the API native component such as camera because the JavaScript code runs internally in your app ,where we have virtual JavaScript machine running internally by react native. This virtual machine knows how to talk to native machine by using bridge present internally inside react native application.

The native views which can be on any native platform iOS or Android can be used by writing a single code.This reduces the cost of the application and hence is preferred more these days..

Hope it was helpful!

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay