Skip to content

Commit

Permalink
docs: drop react-virtualized examples
Browse files Browse the repository at this point in the history
As the library isn't supporting react v19, we are simply remoing it from our documentation.
  • Loading branch information
100terres committed Jan 18, 2025
1 parent 73421d2 commit 48584ea
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 597 deletions.
8 changes: 1 addition & 7 deletions docs/patterns/virtual-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ There are drawbacks with using virtual lists. They stem from the fact that with

## Support

`@hello-pangea/dnd` is designed to work with existing virtual list solutions and does not have it's own virtual list abstraction. There is no official "virtual list" specification or implementation for the web. Different virtual list libraries achieve windowing through various techniques. So we cannot guarentee that `@hello-pangea/dnd` will work with every virtual list library. We have created examples for `react-window` and `react-virtualized` which are the two most popular virtual list libraries for `react`.
`@hello-pangea/dnd` is designed to work with existing virtual list solutions and does not have it's own virtual list abstraction. There is no official "virtual list" specification or implementation for the web. Different virtual list libraries achieve windowing through various techniques. So we cannot guarentee that `@hello-pangea/dnd` will work with every virtual list library. We have created examples for `react-window` is a popular virtual list libraries for `react`.

## Premade examples 🎁

Expand All @@ -32,12 +32,6 @@ Please raise a pull request if you would like to add examples for other virtuali
- [Basic list on `codesandbox.io`](https://codesandbox.io/s/simple-virtual-list-dark-c6wqc)
- [Basic board on `codesandbox.io`](https://codesandbox.io/s/simple-virtual-list-board-vgvzt)

### [`react-virtualized`](https://github.com/bvaughn/react-virtualized)

- [List](https://dnd.hellopangea.com/?path=/story/examples-virtual-react-virtualized--list) ([source](/stories/src/virtual/react-virtualized/list.jsx))
- [Board](https://dnd.hellopangea.com/?path=/story/examples-virtual-react-virtualized--board) ([source](/stories/src/virtual/react-virtualized/board.jsx))
- [List](https://dnd.hellopangea.com/?path=/story/examples-virtual-react-virtualized--window-list) with [`WindowScroller`](https://github.com/bvaughn/react-virtualized/blob/master/docs/WindowScroller.md) ([source](/stories/src/virtual/react-virtualized/window-list.jsx))

### [`react-virtuoso`](https://github.com/petyosi/react-virtuoso)

React Virtuoso comes with automatic item measurement out of the box.
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@
"@types/raf-schd": "4.0.3",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@types/react-virtualized": "9.22.0",
"@types/react-window": "1.8.8",
"@types/seedrandom": "3.0.8",
"@typescript-eslint/eslint-plugin": "7.18.0",
Expand Down Expand Up @@ -177,7 +176,6 @@
"raf-stub": "3.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-virtualized": "9.22.5",
"react-window": "1.8.11",
"release-it": "17.11.0",
"require-from-string": "2.0.2",
Expand Down
50 changes: 0 additions & 50 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 0 additions & 33 deletions stories/examples/46-virtual.stories.tsx

This file was deleted.

Loading

0 comments on commit 48584ea

Please sign in to comment.