petyosi / react-virtuoso

The most powerful virtual list component for React
https://virtuoso.dev
MIT License
5.17k stars 299 forks source link

[FEAT] Adding event 'onFirstRender' #974

Closed Goliath86 closed 1 year ago

Goliath86 commented 1 year ago

What do you think to add a new event named for example 'onFirstRender' that execute a callback after the first rendering of the list? Actually I use the 'itemsRendered' event with a flag to execute a callback only on first render. Is there eventually another method to catch the first render of the list?