Dizzle

Results 8 comments of Dizzle

Hi @Shaked, I'll have to look into this and get back to you. Is there an example/codepen you might be able to provide showing your example scenario?

Tagging contributors for opinions @vinnymac @jordansexton @Ramshackle-Jamathon @haxxxton @mrchief @aga5tya @andrwh

I appreciate the input @mrchief! I think one downside of the HoC is that `MyVirtualList` has to be recreated every render, or stored (likely via `this.`) in other component lifecycle...

Thanks @vinnymac; sounds like we're leaning towards a strict API with function as children. > You can just as well have it as a const outside of your class/SFC and...

Ah, okay! I believe that will work. I should have been clearer before, but if you run into a situation where you need to change the `options` parameter of `VirtualList`...

Update on this - branch is in the works https://github.com/developerdizzle/react-virtual-list/tree/function-as-children

Personally, I think the `ResizeObserver` pattern with a note about requiring a polyfill would be best.

Hey @Dharmoslap , that's a great idea. I can't say when, but I'll definitely try to get an example going!