React - Functional Component
Functional Components are the core of the modern react codebase.
They are based on the idea of the functions that are responsible for returning content to render based on provided props and application's state.
All React components must act like pure functions with respect to their props.
Render process
I understand that a standard JavaScript function that is responsible for returning content to render.
I know that it must not modify passed properties to remain a pure function.
FC vs function
I understand the difference between Functional Components and functions that return JSX.Elements.
I know how their usage affects components tree in a different way.
I understand that a standard JavaScript function that is responsible for returning content to render.
I know that it must not modify passed properties to remain a pure function.
I understand the difference between Functional Components and functions that return JSX.Elements.
I know how their usage affects components tree in a different way.