-
Notifications
You must be signed in to change notification settings - Fork 0
Session 3: November 18, 2021
Topic: React Components https://reactjs.org/docs/components-and-props.html
The first release of React was in 2013, and the latest version is v17.
Even though React provides 2 ways to create components from the beginning, functional and class components, but the real situation was that class components were the only viable option to develop complex apps with React. The reason was that using class components you get a large number of capabilities, for example, state and lifecycle control, while functional components didn’t provide such an option.
The release of 16.8 in 2019 changes the situation, React offered Hooks for functional components. The introduction of Hooks made it possible to write the entire complex application using only functions as React components.
Further Reading: