fake account
fake account

Reputation: 91

Can I use the whole native project in react native with native UI?

I want to re-use my whole native Chat project in react native Project along with its native UI components.Is it possible?Any help will be appreciated.

Upvotes: 1

Views: 67

Answers (2)

RuthenicEye
RuthenicEye

Reputation: 23

Technically its not possible. If that were the case there wouldn't have been the need to invent react native in the first place. If you go through the documentation and try to understand how react native works you'd understand the difference. The Native code is Java or Swift but what you write code in RN is JavaScript, React Native architecture is the bridge between both of these. I recommend reading How RN works (Read this). What you're asking is impossible.

Upvotes: 0

Sandunka Mihiran
Sandunka Mihiran

Reputation: 565

This is not possible. Of course you can get the native project architecture, But you have to manually do majority of the coding in react native project. Specially in UI .Because in native project it is xml layouts.

Upvotes: 1

Related Questions