Closed thomasboyt closed 9 years ago
The thing I keep coming back to is problem 2 above. It seems like such a fixable thing, and using a map to get around it seems like such a massive hammer to apply to a tiny problem.
Managed to work around point 2 for now by storing on the CompositeComponent
The core issue with ReactDOMFragment is that is the rendered component of a ReactCompositeComponent. It is, as best I can tell, impossible to access composite component from the DOM fragment, meaning it's impossible to update the
nodeCount
of the composite component.This leads to the following issues:
Possible better ways to store node counts:
<frag>
could almost become a no-op that simply makes sure an array of nodes is passed in to the composite component...