Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
183
rated 0 times [  188] [ 5]  / answers: 1 / hits: 30647  / 4 Years ago, wed, july 1, 2020, 12:00:00

I have confusion about React JavaScript , React Typescript and React Native.


I just have idea that we use React Native for mobile applications and and React (Javascript,Typescript) for web applications.


Can someone exactly draw the difference between them ?
Which parent library/framework those use ?


Like Angular can we make components,services in them(React JavaScript , React Typescript and React Native).


And when we simply say React what does it mean (Native , Typescript or Javascript) ?


More From » reactjs

 Answers
16

React is a library/framework for building UIs. You construct various components that describe what you want the page to look like, and then react handles figuring out what changed and making updates to the page. If someone just says "react" without any other context, this is probably what they mean.


React Native uses the same core functionality as react, but once it has figured out the changes that need to be made, rather than update the dom (ie, the webpage), it updates native components for android or ios. React native thus lets you write native phone apps, using the syntax and tools that are familiar to react developers.


Javascript vs typescript is completely different axis. Javascript is the main programming language used by webpages. Typescript is a superset of javascript, which lets you add type information to your code. This then lets you find bugs in your code quicker, because your IDE and build process can check the types to see if you've made mistakes. You can write a webpage (including a react webpage) using whichever you prefer (I prefer typescript).


[#50839] Thursday, June 18, 2020, 4 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jackelyn

Total Points: 303
Total Questions: 103
Total Answers: 102

Location: Turks and Caicos Islands
Member since Sun, Mar 7, 2021
3 Years ago
jackelyn questions
Thu, Apr 8, 21, 00:00, 3 Years ago
Sun, Feb 28, 21, 00:00, 3 Years ago
Mon, May 25, 20, 00:00, 4 Years ago
Thu, Apr 30, 20, 00:00, 4 Years ago
;