You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Norserium
I tried to fix it and forked the repo but I had a lot of error about lint etc etc.
I arrived ad one point where both example and the lib works.
I tried also react 19 (on my codebase based on previous point) and it works.
After that I restore react 17 in both example and the lib.
So my conclusion is that the error come from an obsolete peer dependency.
We can add "|| ^19.0.0" (and maybe remove 15...)
We can proceed with 2 solutions if you agree
I will open a PR with only a commit in "package.json" where I add "^19"
I will open a PR with A LOT OF changes (for example cra with version 5 since there is vrsion 2.x in this project)
Since the project seem old maybe a good idea id to rework all like:
use turborepo to handle multirepo (lib and example)
use CRA 5.x like I did (or maybe vite...)
drop support for react 15/16
use fixed node version
add instructions to readme for developer.
We use this library in a production site. That' why I'm here :)
I updated my Vite project to React 19, but unfortunately the current/next version of
react-indiana-drag-scroll
doesn't work with it.The text was updated successfully, but these errors were encountered: