From 325c74008cc8c945ee9627dcf34d44c862a061e4 Mon Sep 17 00:00:00 2001 From: CoderSerio <2779066456@qq.com> Date: Tue, 31 Dec 2024 02:12:52 +0800 Subject: [PATCH] feat: remove ReactDom findDomNode --- README.md | 2 +- examples/basic.tsx | 24 ++++++++++++------------ src/hooks/useHeights.tsx | 6 ++---- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index b23c05e..a894d87 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/basic.tsx b/examples/basic.tsx index 2f14a20..c50b32a 100644 --- a/examples/basic.tsx +++ b/examples/basic.tsx @@ -74,7 +74,7 @@ const Demo = () => {