React is an open-source JavaScript library for building user interfaces(UIs), particularly single-page applications. Developed and maintained by Facebook, its core philosophy revolves around a component-based architecture, promoting the creation of modular, reusable UI elements.
What is open-sources?
Open-source means the source code of a software is publicly available for everyone.
Anyone can:
View the code ๐
Use it โ
Modify it โ๏ธ
Improve it ๐
Share it ๐
For example, React is an open-source project. It was developed by Facebook (Meta), but developers around the world can use and contribute to it.
Simple Example
Imagine you upload your project code publicly on Gitlap:
Other developers can study your code
Fix bugs
Add new features
Create their own version from it
That is the idea of open-source software.
Opposite of Open-source -** Closed-source software.
**
In closed-source software, the source code is private and not available to the public.
Examples:
Microsoft Windows
Some paid commercial software
Popular Open-source Examples
Linux
React
VS Code
Firefox
So, when we say โReact is open-source,โ it means Reactโs code is publicly available and developers can freely use and contribute to it.
** โFree doesnโt always mean free of cost; it means freedom.โ**
โIn open-source, โfreeโ does not only mean free of cost โ it means freedom to use, study, modify, and share the software.โ
upcoming
clint - server
DOM
VDOM
State - a new virtual DOM tree is created in memory
Diffing - diffing algorithm
Reconciliation - comparing the new and old VDOM
Real Dom Update - only identify the changes - batch(put) - to the
Real DOM - avoiding unnecessary re-renders of the
entire page.
component-Based architecture
reusable,independent components.- simplify-develop,debug
JSX - javaScript XML
To be continued... โจ
Top comments (0)