-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add warning to setNativeProps and Animated for non-nested styles
Summary: These were accidentally supported because they were merged at a lower level. That's an implementation detail. setNativeProps should still normalize the API. I fixed some callers. Setting props the normal way used to ignore these. Unfortunately we can't warn for those cases because lots of extra props are spread. (The classic transferPropsTo issue.) @public Reviewed By: @vjeux Differential Revision: D2514228 fb-gh-sync-id: 00ed6073827dc1924da20f3d80cbdf68d8a8a8fc
- Loading branch information
1 parent
82b3a6b
commit 2ea3b93
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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