React YouTube Playlist v3 Release
Version 3 of the React YouTube Playlist library is out! 🥳
Here are the notable highlights.
Breaking Changes
This release comes with one breaking change.
- The
uniqueName
prop is deprecated. The library no longer needs a unique ID.
Other Changes
- 100% dependency free!
- Optimized to avoid running on the main thread.
How to Update the React YouTube Playlist Package
Here are the steps required to upgrade to the latest version:
-
Install the latest version
Terminal npm install @codesweetly/react-youtube-playlist@latestAlternatively, you can use Yarn or pnpm like so:
Yarn Installation yarn upgrade @codesweetly/react-youtube-playlist --latestPNPM Installation pnpm update @codesweetly/react-youtube-playlist --latest -
Delete the
uniqueName
prop<YouTubePlaylistapiKey="YOUR_YOUTUBE_API_KEY"playlistId="YOUR_YOUTUBE_PLAYLIST_ID"uniqueName="THIS_PLAYLIST_INSTANCE_NAME"/>
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.