mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
These nodes rendering into Text nodes in the DOM. There is a special case when a string is a direct child of a host node. In that case, we won't reconcile it as a child fiber. In terms of fibers, it is terminal. However, the host config special cases it. It is kind of unfortunate that we have to special case this kind of child in the HostConfig. It would be nice to unify this with other types of child instances. Text nodes have some weird special cases, but those special cases tend to *vary* by environment. They're not the same special cases so not sure how valuable it is to have a special protocol and special types for it.