Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
getDerivedStateFromProp must return null if no change #11398
A valid state object (or null) must be returned. You have returned undefined.
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
if isBugFix :
elif isNewFeature :
changed the title from
getDerivedStateFromProp return null if not change
getDerivedStateFromProp return null if no change
Jul 22, 2018
Deploy preview for ant-design ready!
Built with commit 22c0a1c
@@ Coverage Diff @@ ## master #11398 +/- ## ========================================== + Coverage 91.76% 91.76% +<.01% ========================================== Files 199 199 Lines 5014 5015 +1 Branches 1403 1403 ========================================== + Hits 4601 4602 +1 Misses 408 408 Partials 5 5