clauderic / react-tiny-virtual-list

A tiny but mighty 3kb list virtualization library, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
https://clauderic.github.io/react-tiny-virtual-list/
MIT License
2.46k stars 166 forks source link

Does not support version React 18^ #113

Open IvanOkoyanniy opened 2 years ago

IvanOkoyanniy commented 2 years ago

In "react": "^18.1.0", working only 'npm install --legacy-peer-deps'.

Hartaithan commented 8 months ago

i made fork with updates packages react-tiny-virtual-list try this npm install react-retiny-virtual-list --save leave it a star if it helped you.

Hartaithan commented 8 months ago

@clauderic please can you update the library this is one of the few libraries that works with dnd-kit without problems, literally life saver but there is a problem with newer versions of react

snellcode commented 7 months ago

This is a great package, and does what I want. But it has a warning related to peer dependency as others commented. I'm using it in preact 10, which I believe is emulating react 18. So I have react 18 being included as a dev dependency, which solved a bunch of peer dependency warnings. But this package still has the warning:

warning " > react-tiny-virtual-list@2.2.0" has incorrect peer dependency "react@15.x || 16.x".

Maybe it could be updated to be version 15 or 16 and above, including 18?