Embla-carousel: Deprecation warning message for embla-carousel-react users

Created on 18 Nov 2020  路  4Comments  路  Source: davidcetinkaya/embla-carousel

I had absolutely no idea embla-carousel-react was moved into the embla-carousel package. NPM always told me i had the newest version, so i missed two major version updates.
Can you release a new minor embla-carousel-react version, which informs the users that the package is abandoned? (https://github.com/dylang/shortid package did this recently too). There are still more than 2000 downloads each week for the old package, so maybe there are some other people out there not knowing about this.

documentation react

Most helpful comment

Hi David!
Awesome! Now i get a warning in NPM!
image

By the way, how did you notice that it was deprecated?

It was a coincidence. I updated to React 17 and got a warning that embla-carousel-react requires a peer dependency of React 16. So i went to the repo to report that. 馃構

All 4 comments

Hello David (@davidspiess),

Thank you sharing this. Your suggestion makes a lot of sense! I've officially deprecated the package by following the guidelines in the NPM docs.

Would you mind verifying that you get the deprecation notice followed by the message in red, when you try to install the embla-carousel-react package 馃憞?

deprecation-notice

Note that you might need to clear your NPM cache in order for it to work properly. By the way, how did you notice that it was deprecated? Just curious how it came to your knowledge.

Thanks in advance,
David

Hi David!
Awesome! Now i get a warning in NPM!
image

By the way, how did you notice that it was deprecated?

It was a coincidence. I updated to React 17 and got a warning that embla-carousel-react requires a peer dependency of React 16. So i went to the repo to report that. 馃構

Thanks for confirming David (@davidspiess). Ah I see. In that case, you have some catching up to do 馃槄. Read more here:

Thank you for creating this issue.
Enjoy!

Already upgraded, it was painless, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davemullenjnr picture davemullenjnr  路  5Comments

cliffordfajardo picture cliffordfajardo  路  5Comments

nikrowell picture nikrowell  路  6Comments

Hahlh picture Hahlh  路  3Comments

iamkevingreen picture iamkevingreen  路  3Comments