Files
react/src
Brian Vaughn 2e095b4140 Hardened validateCallback to better handle null values (#8973)
Previously, calls to validateCallback() with a null callback value resulted in runtime errors if a certain transform was not applied prior to running. This commit wraps the invariant() with the condition check so as to avoid calling formatUnexpectedArgument() unless necessary. It also replaces the truthy/falsy callback check with an explicit check for improved performance.
2017-02-09 14:10:45 -10:00
..
2017-01-05 13:16:08 -08:00
2016-04-07 11:27:28 -07:00
2017-02-09 16:07:56 +00:00