0
0
llucycodes42
shouldComponentUpdate is a function that returns a boolean value. The function will be called every time the state of the component changes. The first argument is the new state of the component. The function will then check if the new state needs to be updated in the data binding. If so, the function will call the nextProps and nextState arguments with the new data.
Library: react
Shortcut: scu
shouldComponentUpdate(nextProps, nextState) { first }