Psychology, asked by bhavinmrinalini6767, 1 year ago

Which lifecycle event is invoked before rendering and when new props or state are being received?

Answers

Answered by kamalKumarbigarniya
1

shouldComponentUpdate() is invoked before rendering when new props or state are being received. Defaults to true . This method is not called for the initial render or when forceUpdate() is used.

Similar questions