Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates ViewConfig types to delegate isInAParentText context
Now that HostContext determination for Fabric is a DEV-only behavior, we can move the HostContext determination to resolve from the ViewConfig for a given type. Doing this will allow arbitrary types to register themselves as potential parents of raw text string children. This is the first of two diffs for react as we'll: 1. Add the new property to the ViewConfig types 2. Update React Native to include the `supportsRawText` property for `RCTText`, `RCTVirtualText`, `AndroidTextInput`, etc. 3. Switch the behavior of react to read from the ViewConfig rather than a static list of types.
- Loading branch information