Fix incorrect usage of React.ElementConfig and React.ElementRef in xplat#37083
Fix incorrect usage of React.ElementConfig and React.ElementRef in xplat#37083SamChou19815 wants to merge 1 commit into
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D44774275 |
|
Base commit: b4466c7 |
|
This pull request was exported from Phabricator. Differential Revision: D44774275 |
…lat (#37083) Summary: Pull Request resolved: #37083 `React.ElementConfig<a polymophic type>` will result in unpredictable behavior in Flow due to some types being unresolved. Since the type is already broken in most cases, I use $FlowFixMe as the type for those type arguments that are currently inferred as empty. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D44774275 fbshipit-source-id: 440b6c731fa28f40a7246883ab32f2a4d78f9cd1
|
This pull request was exported from Phabricator. Differential Revision: D44774275 |
|
This pull request has been merged in 0e59e2a. |
Summary:
React.ElementConfig<a polymophic type>will result in unpredictable behavior in Flow due to some types being unresolved. Since the type is already broken in most cases, I use $FlowFixMe as the type for those type arguments that are currently inferred as empty.Changelog: [Internal]
Differential Revision: D44774275