compulim / react-scroll-to-bottom

React container that will auto scroll to bottom
MIT License
183 stars 35 forks source link

Is this library still maintained? #133

Open thezanke opened 1 year ago

thezanke commented 1 year ago

I'm getting a warning on install:

core-js@3.18.3: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

I see there's a few issues and PRs that have built up since 2021ish, including support for React 17 and adding Typescript typings. Is this library still maintained or should new React projects look elsewhere? Thanks!

Pnlvfx commented 1 year ago

Please upgrade the package, it's still working but need at least to update the dependencies, also i receive this 627 react_devtools_backend.js:2655 Warning: BasicScrollToBottom: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. at BasicScrollToBottom (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108709:31) at div at main at div at div at div at Chat (http://localhost:3000/_next/static/chunks/components_4b5270._.js:2214:20) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at Suspense at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at body at html at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6758:1) at ReactDevOverlay (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6986:11) at HotReload (http://localhost:3000/_next/static/chunks/[next]_dev_hot-reloader.tsx_db9090._.js:49:11) at Router (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2491:11) at ErrorBoundaryHandler (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:62:9) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at AppRouter (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2473:13) at ServerRoot (http://localhost:3000/_next/static/chunks/[next]_entry_app_hydrate.tsx_b53fce._.js:109:11) at RSCComponent overrideMethod @ VM627 react_devtools_backend.js:2655 VM627 react_devtools_backend.js:2655 Warning: Composer: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. at Composer (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108042:31) at BasicScrollToBottom (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108709:31) at div at main at div at div at div at Chat (http://localhost:3000/_next/static/chunks/components_4b5270._.js:2214:20) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at Suspense at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at body at html at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6758:1) at ReactDevOverlay (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6986:11) at HotReload (http://localhost:3000/_next/static/chunks/[next]_dev_hot-reloader.tsx_db9090._.js:49:11) at Router (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2491:11) at ErrorBoundaryHandler (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:62:9) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at AppRouter (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2473:13) at ServerRoot (http://localhost:3000/_next/static/chunks/[next]_entry_app_hydrate.tsx_b53fce._.js:109:11) at RSCComponent overrideMethod @ VM627 react_devtools_backend.js:2655 VM627 react_devtools_backend.js:2655 Warning: BasicScrollToBottomCore: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. at BasicScrollToBottomCore (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108686:25) at Composer (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108042:31) at BasicScrollToBottom (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108709:31) at div at main at div at div at div at Chat (http://localhost:3000/_next/static/chunks/components_4b5270._.js:2214:20) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at Suspense at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at body at html at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6758:1) at ReactDevOverlay (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6986:11) at HotReload (http://localhost:3000/_next/static/chunks/[next]_dev_hot-reloader.tsx_db9090._.js:49:11) at Router (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2491:11) at ErrorBoundaryHandler (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:62:9) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at AppRouter (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2473:13) at ServerRoot (http://localhost:3000/_next/static/chunks/[next]_entry_app_hydrate.tsx_b53fce._.js:109:11) at RSCComponent overrideMethod @ VM627 react_devtools_backend.js:2655 VM627 react_devtools_backend.js:2655 Warning: Panel: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. at Panel (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:107540:25) at div at BasicScrollToBottomCore (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108686:25) at Composer (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108042:31) at BasicScrollToBottom (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108709:31) at div at main at div at div at div at Chat (http://localhost:3000/_next/static/chunks/components_4b5270._.js:2214:20) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at Suspense at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at body at html at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6758:1) at ReactDevOverlay (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6986:11) at HotReload (http://localhost:3000/_next/static/chunks/[next]_dev_hot-reloader.tsx_db9090._.js:49:11) at Router (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2491:11) at ErrorBoundaryHandler (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:62:9) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at AppRouter (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2473:13) at ServerRoot (http://localhost:3000/_next/static/chunks/[next]_entry_app_hydrate.tsx_b53fce._.js:109:11) at RSCComponent overrideMethod @ VM627 react_devtools_backend.js:2655 VM627 react_devtools_backend.js:2655 Warning: Prop className did not match. Server: "react-scroll-to-bottom--css-lklcy-1n7m0yu overflow-y-auto h-full w-full" Client: "react-scroll-to-bottom--css-zigcv-1n7m0yu overflow-y-auto h-full w-full" at div at Panel (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:107540:25) at div at BasicScrollToBottomCore (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108686:25) at Composer (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108042:31) at BasicScrollToBottom (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108709:31) at div at main at div at div at div at Chat (http://localhost:3000/_next/static/chunks/components_4b5270._.js:2214:20) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at Suspense at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at body at html at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6758:1) at ReactDevOverlay (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6986:11) at HotReload (http://localhost:3000/_next/static/chunks/[next]_dev_hot-reloader.tsx_db9090._.js:49:11) at Router (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2491:11) at ErrorBoundaryHandler (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:62:9) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at AppRouter (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2473:13) at ServerRoot (http://localhost:3000/_next/static/chunks/[next]_entry_app_hydrate.tsx_b53fce._.js:109:11) at RSCComponent overrideMethod @ VM627 react_devtools_backend.js:2655 VM627 react_devtools_backend.js:2655 Warning: AutoHideFollowButton: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. at AutoHideFollowButton (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108641:25) at div at BasicScrollToBottomCore (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108686:25) at Composer (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108042:31) at BasicScrollToBottom (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108709:31) at div at main at div at div at div at Chat (http://localhost:3000/_next/static/chunks/components_4b5270._.js:2214:20) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at Suspense at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at body at html at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6758:1) at ReactDevOverlay (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6986:11) at HotReload (http://localhost:3000/_next/static/chunks/[next]_dev_hot-reloader.tsx_db9090._.js:49:11) at Router (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2491:11) at ErrorBoundaryHandler (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:62:9) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at AppRouter (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2473:13) at ServerRoot (http://localhost:3000/_next/static/chunks/[next]_entry_app_hydrate.tsx_b53fce._.js:109:11) at RSCComponent overrideMethod @ VM627 react_devtools_backend.js:2655 VM627 react_devtools_backend.js:2655 Warning: EventSpy: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. at EventSpy (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:107771:25) at Composer (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108042:31) at BasicScrollToBottom (http://localhost:3000/_next/static/chunks/node_modules_d4189a._.js:108709:31) at div at main at div at div at div at Chat (http://localhost:3000/_next/static/chunks/components_4b5270._.js:2214:20) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at Suspense at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at body at html at ScrollAndFocusHandler (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33086:9) at InnerLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33128:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at LoadingBoundary (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:33203:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at RenderFromTemplateContext (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_render-from-template-context_b53fce.js:15:34) at OuterLayoutRouter (http://localhost:3000/_next/static/chunks/node_modules_6a1033._.js:32964:11) at RedirectErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:629:9) at RedirectBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:637:11) at NotFoundBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:563:11) at ErrorBoundary (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6758:1) at ReactDevOverlay (http://localhost:3000/_next/static/chunks/[next]_overlay_client.ts_f72f0e._.js:6986:11) at HotReload (http://localhost:3000/_next/static/chunks/[next]_dev_hot-reloader.tsx_db9090._.js:49:11) at Router (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2491:11) at ErrorBoundaryHandler (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:62:9) at ErrorBoundary (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_components_error-boundary_b53fce.js:75:11) at AppRouter (http://localhost:3000/_next/static/chunks/node_modules_next_dist_02c9ec._.js:2473:13) at ServerRoot (http://localhost:3000/_next/static/chunks/[next]_entry_app_hydrate.tsx_b53fce._.js:109:11)

which is reallt frustrating me

freddyrangel commented 5 months ago

I believe it's abandoned. Which is a shame because I actually quite like it. Side note, ChatGPT uses this library. If you check the console there, you'll see the same warnings.

wong2 commented 4 months ago

Is there a better alternative?

freddyrangel commented 4 months ago

Is there a better alternative?

I briefly looked into it and didn't find anything that had everything I wanted. I'm treating this as a "Future Me" problem (screw that guy). But if you happen to find an alternative, share it with the class.

zuhaib10 commented 2 weeks ago

any luck?