React binds the class method every time the render() method runs, meaning every time the component updates, which will hurt our application’s performance. Binding the class method in the constructor needs to only be done once, when the component is instantiated.
React binds the class method every time the render() method runs, meaning every time the component updates, which will hurt our application’s performance. Binding the class method in the constructor needs to only be done once, when the component is instantiated.