React YouTube Playlist v3.1.0 Release
Version 3.1.0 of the React YouTube Playlist library is out! 🥳
Notable Changes
Section titled “Notable Changes”- Full compatibility with React 19.
- Four (4) new optional props:
columnCount,columnWidth,gapSize, andcustomStyles.
| Props | Type | Default | Description |
|---|---|---|---|
| number or keyword (string) | “auto” | (Optional) The number of columns. | |
| number or keyword (string) | 230 | (Optional) The minimum width of the gallery’s columns. | |
| number | 24 | (Optional) The gallery’s gap size. | |
| ImageGalleryStylesType | | (Optional) Custom styles to override the following element’s default styles:
|
How to Update the React YouTube Playlist Package
Section titled “How to Update the React YouTube Playlist Package”npm install @codesweetly/react-youtube-playlist@latestAlternatively, you can use Yarn or pnpm like so:
yarn upgrade @codesweetly/react-youtube-playlist --latestpnpm update @codesweetly/react-youtube-playlist --latestHow to Use the React YouTube Playlist Package
Section titled “How to Use the React YouTube Playlist Package”See the complete project-based guide to learn how to add the YouTubePlaylist package to your React applications. You can use the library with Vite, NextJS, Remix, or any other React app.