Last active
April 5, 2019 10:01
-
-
Save vzaidman/43df0b7e8b851e3d396c8cfb05698b01 to your computer and use it in GitHub Desktop.
hook-fix.js- Track Redundant Re-renders That Caused By Hooks With "Why Did You Render" version 3
This file contains hidden or 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
if (hookState.num !== newHookState.num){ | |
setHookState(newHookState) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment