Created
May 23, 2024 14:50
-
-
Save darkwing/decd68c3cb11cbe14f27c2f5476cbe7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('[routes.component.js] componentDidUpdate ---------------------------'); | |
const keyz = Object.keys(this.props); | |
keyz.forEach((key) => { | |
if (this.props[key] !== prevProps[key]) { | |
console.warn('[prop value inequality]: ', key, this.props[key], prevProps[key]); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment