Quelle est l'utilisation de consrtructeurs dans ReactJS

In React, constructors are mainly used for two purposes: It used for initializing the local state of the component by assigning an object to this. state. It used for binding event handler methods that occur in your component.
Curious Caribou