mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
34748be60d6d4fa09c525ad67db8aa4920130c49
## Summary This PR makes some fixes to the `fastAddProperties` function: - Use `if (!attributeConfig)` instead of `if (attributeConfig === undefined)` to account for `null`. - If a prop has an Object `attributeConfig` with a `diff` function defined on it, treat it as an atomic value to keep the semantics of `diffProperties`. ## How did you test this change? Build and run RNTester app. DiffTrain build for commit https://github.com/facebook/react/commit/b37e4b4e616d6d66c1cde9c0a4c2cbd866b0b582.
react-fbsource-import
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%