Skip to content

Commit

Permalink
feat: remove ReactDom findDomNode
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderSerio committed Dec 30, 2024
1 parent 42dd61e commit 80d24fd
Show file tree
Hide file tree
Showing 4 changed files with 21,138 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ https://virtual-list-react-component.vercel.app/
```bash
npm install
npm start
open http://localhost:9001/
open http://localhost:8000/
```

## Feature
Expand Down
2 changes: 1 addition & 1 deletion examples/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const Demo = () => {
<button
type="button"
onClick={() => {
listRef.current.scrollTo({
listRef.current?.scrollTo({
index: 50,
align: 'top',
});
Expand Down
Loading

0 comments on commit 80d24fd

Please sign in to comment.