Embla Carousel v3.0.15 Release Notes

Release Date: 2020-06-29 // almost 4 years ago
  • ๐Ÿฑ ๐ŸŒŸ New Features

    ๐Ÿš€ The embla-carousel-react has now moved into the core package which will improve the maintainability of this project. For example, as soon as a new version is released react users won't have to wait for the react package to be published individually.

    ๐Ÿ“ฆ How to migrate from the React package

    ๐Ÿ“ฆ Please migrate as soon as possible. Start by uninstalling the react package and installing the core package like so:

    NPM

    npm uninstall embla-carousel-react --save npm install embla-carousel --save
    

    YARN

    yarn remove embla-carousel-react --save yarn add embla-carousel --save
    

    ๐Ÿ”„ Change your import

    // from this...import { useEmblaCarousel } from 'embla-carousel-react';// ...to thisimport { useEmblaCarousel } from 'embla-carousel/react';
    

    ๐Ÿ‘€ To anyone not using the useEmblaCarousel hook

    ๐Ÿ‘ I'm sorry to say that the class setup is no longer supported. Please migrate to the hook as soon as possible.

    I would very much appreciate

    If you've starred the Embla Carousel React package, please take a moment to migrate your star โญ to the core package as well. I would appreciate that a lot.

    Thank you!
    David