React - Class Components
Class Components are the more old school way of creating react components. Since version 16.8 their usage is less popular. Still, they provide more control over rendering process and can be met inside older codebases.
Class components are the right tool for highly render heavy components as they allow the programmer to determine when the rerenders will happen.
They can be also useful for integration of external rendering libraries when standard functional components do not provide enough control.
Component's lifecycle
I know the full lifecycle of the react's class component and the predefined methods from lifecycle.
I understand how there methods correspond with the concepts from the useEffect hook.
setState
I know how the state management is handled for class components. I understand how I can update the state using setState method
PureComponent
I know when to utilize power of the PureComponent. I know how the pure component prevents children components from rerendering when no props are being updated.
Binding
I know how to create new methods for class components so that they can access both props and state.
I know that class components are standard react classes, so there is need to bind methods or use lambda functions for this context
I know the full lifecycle of the react's class component and the predefined methods from lifecycle.
I understand how there methods correspond with the concepts from the useEffect hook.
I know how the state management is handled for class components. I understand how I can update the state using setState method
I know when to utilize power of the PureComponent. I know how the pure component prevents children components from rerendering when no props are being updated.
I know how to create new methods for class components so that they can access both props and state.
I know that class components are standard react classes, so there is need to bind methods or use lambda functions for this context