Wednesday, October 7, 2020

Must read this about Nodejs

When I was new to web development, I assumed that React Javascript is used for backend purposes but as I continued my journey I found that react.js is for frontend, and for backend we use node.js. 



I think many got the same misconception that reactjs is used for the backend but this is not like that. 


React js is a component-based library or you can say that it is a frontend purpose library to develop interactive user interface. This points to the fact that it is used for the frontend/client-side programming purpose.


It is used to create SPA single-page applications that do not reload and are really fast.


In reactJS, everything is a component and you can change the components at any point in time without affecting the rest of the application.


But NodeJS is a javascript runtime developed by google. It runs javascript code outside the browser whereas React/Vue/Angular are in browser Javascript frameworks.


For a fully functional app, you would use ReactJS to develop its user interface and NodeJS for the backend like for creating an API. 

 Later we will learn about Angular and Vue also













Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home