React and React Native communicate easily?

Asked

Viewed 94 times

-2

I need to make a web application, but it needs to run on platforms Android as IOS. Although I know the difference between Frameworks, I wonder if I can make a code using the React normal, but together create the connections with XML files from React Native.

I don’t know if I could be clear, and I’m sorry for the ignorance, but I’m starting in the area.

1 answer

0


Good morning Arenas,

I wouldn’t say they communicate, but they have a similar structure, since React Native is a framework based on React. In other words, we will have some similarities like the design, because you will use JSX and Javascript.

In a coarse summary you can reuse some structures (what will change most of the time are the tags)

Reacjs: is a library (Web development)+-

React Native: is a framework (Mobile Development)

Remember in React Native you are not writing to the web, so you cannot use regular HTML elements such as div, input, span, and so on. Instead of these elements, you have a number of native components that React Native provides here.

I hope I’ve helped.

  • This has greatly clarified my doubt, I am grateful for the attention and the explanation!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.