this

Types of components:

  • You need to bind the instance with this because the methods in the class are mounted on the instance object in strict mode
  • In a public class, an arrow function wrapped in a class or constructor is contexted as an instance of the class component and does not need to be bound in the constructor.
  • You need to instantiate components that perform less well than functional components
  • You need to write the same logic in different life cycles and separate the same functionality into different life cycle functions.