SPA - MPA - and React Framework
SPA - MPA - and React Framework
React Framework
• A library for implement web frontends.
• It covers the view layer, i.e. it is a representation of
user interface.
One Way
JSX Data
Binding
React React
Features Features
Virtual
Simplicity
DOM
Performan
ce
JSX
Features which deals with HTML, XML or XHTML. The DOM exists
entirely in memory.
Due to this, when we create a component, we did not
write directly to the DOM.
Instead, we are writing virtual components that will
turn into the DOM leading to smoother and faster
Advantage of ReactJS
3. Reusable Components
A ReactJS web application is made up of multiple
components, and each component has its own logic and
Pros and controls. These components are responsible for
Cons of outputting a small, reusable piece of HTML code which
can be reused wherever you need them. The reusable
ReactJS code helps to make your apps easier to develop and
maintain. These Components can be nested with other
components to allow complex applications to be built of
simple building blocks. ReactJS uses virtual DOM based
mechanism to fill data in HTML DOM. The virtual DOM
works fast as it only changes individual DOM
elements instead of reloading complete DOM every time.
Advantage of ReactJS
4. Performance Enhancement
ReactJS improves performance due to virtual DOM. The
Pros and DOM is a cross-platform and programming API which
deals with HTML, XML or XHTML. Most of the developers
Cons of faced the problem when the DOM was updated, which
slowed down the performance of the application. ReactJS
ReactJS solved this problem by introducing virtual DOM. The
React Virtual DOM exists entirely in memory and is a
representation of the web browser's DOM. Due to this,
when we write a React component, we did not write
directly to the DOM. Instead, we are writing virtual
components that react will turn into the DOM, leading
to smoother and faster performance.
Advantage of ReactJS
2. Poor Documentation
It is another cons which are common for
constantly updating technologies. React technologies
updating and accelerating so fast that there is no
Pros and time to make proper documentation. To overcome
this, developers write instructions on their own with
Cons of the evolving of new releases and tools in their current
ReactJS projects.
3. View Part
ReactJS Covers only the UI Layers of the app and
nothing else. So you still need to choose some other
technologies to get a complete tooling set for
development in the project.
Disadvantages of ReactJS
A. To generate JSX
Question 3 B. To convert JSX and other resources into JavaScript
C. To bootstrap an application