Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it throw error with the new version react-spring, react-spring is in beta and interface changed! #16

Open
heerzhang opened this issue Oct 23, 2019 · 13 comments

Comments

@heerzhang
Copy link

No description provided.

@bmcmahen
Copy link
Owner

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?

@heerzhang
Copy link
Author

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",

@TadewosBell
Copy link

has there been a fix?

@TadewosBell
Copy link

i am getting
Cannot read property 'ref' of null

on
Message.js line 68
const transition = useTransition(localShow, null, animation);

@LiteSoul
Copy link

Yes, it trows error re. react-spring if you try to add toasted-notes.
I'm using Yarn.
And this is a new project.

toast-error

@bmcmahen
Copy link
Owner

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.

@heerzhang
Copy link
Author

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;

@heerzhang
Copy link
Author

heerzhang commented Nov 15, 2019 via email

@LiteSoul
Copy link

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

@TadewosBell
Copy link

how did you solve this issue? i have production web app that depends on this and keeps breaking.

@bmcmahen
Copy link
Owner

bmcmahen commented Dec 7, 2019

have you installed react-spring v8 as a peer dependency?

@TadewosBell
Copy link

yes, that solved the issue.Is there a way to stop it from breaking if i run npm update

@zachintosh
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants