What is the main difference between ReactJS and React Native?

The main difference is that ReactJs is used to form websites, whereas React Native is used to create mobile applications. ReactJS could be a tool you increase your website, whereas React Native is used to make your mobile apps from the bottom up.

Usually ReactJS could be a tool that you simply can increase your website, to write down code within the kind of reusable components. This components are often integrated with other technologies , or used with other React components to create your whole page. Usually you don’t use just react to create an internet site , as a hierarchy of components passing down information to other components can soon become an entangled mess. You pair it with redux, mobX or whatever other technology you would possibly prefer to structure your site.

React Native isn't a tool that you simply raise an existing project. React Native is that the tool you utilize to create your mobile from the bottom up. What React Native does is that's allows you to write down javascript that calls native code. This allows you to write down most of your app in javascript, using components written in javascript (that you'll be able to eventually reuse even in your website with minor changes), and components that use native code. React Native also provides you with loads of components that you simply can use directly to create your app.

0 Comments