react-touch-carousel icon indicating copy to clipboard operation
react-touch-carousel copied to clipboard

NextJS compability

Open alexfrancavilla opened this issue 4 years ago • 2 comments

Hi, I was really looking forward to using this plugin instead of my selfmade piece of garbage that I produced. However, a bug in react-spring v8 is triggering compiler errors in NextJS > 9. The bug was fixed in react-spring v9 (see here).

Is there any realistic chance to get an upgrade to the latest major version of react-spring in the near future?

alexfrancavilla avatar Jul 17 '21 18:07 alexfrancavilla

Last time when I checked [email protected], there was some weird issues making this component not work. I'll try to take another look this week. PR is welcomed too.

xiaody avatar Jul 20 '21 10:07 xiaody

[email protected] is published with latest react-spring dependency.

The single component Spring in react-spring@8 has been split into two parts in react-spring@9, i.e., Spring and animated. This causes a bit trouble for our component. The current code is kinda hacky and a refactoring may be the next necessary step.

xiaody avatar Jul 24 '21 13:07 xiaody