Open heerzhang opened 4 years ago
I use Sancho + react-spring, while Sancho use toasted-notes, it was nested dependency. toasted-notes can move to the new version react-spring ? My projecct use "react-spring": "^9.0.0-beta.31",
has there been a fix?
i am getting
Cannot read property 'ref' of null
on
Message.js line 68
const transition = useTransition(localShow, null, animation);
Yes, it trows error re. react-spring if you try to add toasted-notes. I'm using Yarn. And this is a new project.
react-spring
is now listed as a peer dependency, so currently you need to install it yourself.
Unfortunately I just don't have much time to work on this repo recently. I'd eventually like to just rewrite it - made the mistake of switching to the react-spring 9 beta, which has resulted in some of these dependency problems.
I change react-spring to 8.0.27 in both sancho and my Project, but sill get error: Scroll to{ }? or, web.js of react-spring;
my package.json: :
"name": "frontend-sei",
"dependencies": {
"react-spring": "8.0.27",
"sancho || customize-easy-ui-component" : "3.5.7-hez04",
"react-gesture-view": "^2.1.3",
"react-gesture-stack": "^1.3.2",
},
"peerDependencies": {
},
react-spring
is now listed as a peer dependency, so currently you need to install it yourself.Unfortunately I just don't have much time to work on this repo recently. I'd eventually like to just rewrite it - made the mistake of switching to the react-spring 9 beta, which has resulted in some of these dependency problems.
Yes, installing react-spring solves the problem. Sad to hear you don't have time lately
how did you solve this issue? i have production web app that depends on this and keeps breaking.
have you installed react-spring v8 as a peer dependency?
yes, that solved the issue.Is there a way to stop it from breaking if i run npm update
I am on version 9 (latest beta) and am currently having this issue. Has there been any other issues related to this that might point me to a solution?
So weird... it's working for me when I clone this repo and use storybook. Can you try the same? Out of curiosity, and you using yarn or npm?