I'm concerned that the whole ReactDOMFragment idea was bad from the start, given the trouble I've had figuring out how to store and update the state of nodeCounts/Indexes. This won't solve #7, of course, but would at least make it easier to make a simple "child -> parent" lookup without going through the mess that is ReactDOMFragment...
The main difficulty here would then be turning
<Component>
<frag>
<li>foo</li>
<li>bar</li>
</frag>
</Component>
into:
<Component>
<li>foo</li>
<li>bar</li>
</Component>
I wonder if making frag turn into an array under the hood would be the best way to do it...
Oh, and I guess this would mean CompositeComponent now also has to be a ReactMultiChild-using component. That could be... interesting...
I'm concerned that the whole
ReactDOMFragmentidea was bad from the start, given the trouble I've had figuring out how to store and update the state of nodeCounts/Indexes. This won't solve #7, of course, but would at least make it easier to make a simple "child -> parent" lookup without going through the mess that is ReactDOMFragment...The main difficulty here would then be turning
into:
I wonder if making frag turn into an array under the hood would be the best way to do it...
Oh, and I guess this would mean
CompositeComponentnow also has to be aReactMultiChild-using component. That could be... interesting...