Skip to content

Extend support to React 19 #118

@dream-fx

Description

@dream-fx

Problem

react-scrollable-feed doesn't seem to support React 19.

To reproduce

  1. Create a blank Next.js project with React 19:
npx create-next-app@latest
  1. Install react-scrollable-feed:
npm i react-scrollable-feed
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: test@0.1.0
npm ERR! Found: react@19.0.0
npm ERR! node_modules/react
npm ERR!   react@"^19.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" from react-scrollable-feed@2.0.2
npm ERR! node_modules/react-scrollable-feed
npm ERR!   react-scrollable-feed@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /root/.npm/_logs/2025-01-28T17_38_24_036Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-01-28T17_38_24_036Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions