Skip to main content

Posts

Showing posts from December, 2022

What is Node.js?

  Node.js (Node) is an   open source , cross-platform runtime environment for executing   JavaScript   code. Node is used extensively for server-side programming, making it possible for developers to use JavaScript for   client-side   and server-side code without needing to learn an additional language. Node is sometimes referred to as a programming language or   software development   framework, but neither is true; it is strictly a JavaScript   runtime . Node incorporates the V8 JavaScript engine, the same one used in  Google Chrome  and other browsers. It is written in  C++  and can run on macOS, Linux, Windows and other systems. The engine parses and executes JavaScript code. It can operate independently of a browser environment, either embedded in a C++ application or implemented as a standalone program. The V8 engine compiles JavaScript internally, using just-in-time ( JIT ) processes to speed up execution. The following code is an example of a simple JavaScript file (server_tst.

What is react js?

  ReactJS is JavaScript library used for building reusable UI components. According to React official documentation, following is the definition − React is a library for building composable user interfaces. It encourages the creation of reusable UI components, which present data that changes over time. Lots of people use React as the V in MVC. React abstracts away the DOM from you, offering a simpler programming model and better performance. React can also render on the server using Node, and it can power native apps using React Native. React implements one-way reactive data flow, which reduces the boilerplate and is easier to reason about than traditional data binding. React Features JSX  − JSX is JavaScript syntax extension. It isn't necessary to use JSX in React development, but it is recommended. Components  − React is all about components. You need to think of everything as a component. This will help you maintain the code when working on larger scale projects. Unidirectional