Update 14_component_life_cycles.md

wrong statement in the comment for the shouldComponentUpdate() method
pull/309/head
zeref31 2 years ago committed by GitHub
parent 8b41cd49c3
commit 88f0e13601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -427,7 +427,7 @@ class App extends Component {
shouldComponentUpdate(nexProps, nextState) {
console.log(nextProps, nextState)
// if the return is true, the application will never update.
// if the return is false, the application will never update.
return true
}

Loading…
Cancel
Save