Re: [FlexJS] getElementIndex()

2017-06-22 Thread Peter Ent
I was wondering why React keeps its own DOM and why it is so fast. Perhaps this is the reason. On 6/22/17, 10:56 AM, "Alex Harui" wrote: >Feel free to test your theory. It sounds like duplication of work to me >as in: The DOM does have some sort of list so why keep our own? Making >and manipul

Re: [FlexJS] getElementIndex()

2017-06-22 Thread Alex Harui
Feel free to test your theory. It sounds like duplication of work to me as in: The DOM does have some sort of list so why keep our own? Making and manipulation Array is supposedly also not very performant. Regarding text nodes, I haven't looked to see when text nodes are intentionally children o