mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-06 09:17:55 +08:00
Summary: There is no point in using `updateLayout` when we have `didSetProps`. The only a bit risky part is calling `dirtyLayout` in `setFrame:forView:` instead of `updateLayout`, but since setting frame shouldn't really change border/margin/padding it should be ok. Depends on D2699512. public Reviewed By: nicklockwood Differential Revision: D2700012 fb-gh-sync-id: a7c33b3b4e3ddc195bebebb8b03934131af016fb