Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Web Playback SDK incompatibility with React 18

Solved!

Web Playback SDK incompatibility with React 18

The Web Playback SDK appears incompatible with React 18 as discussed here: link. Can this be documented for developer awareness? It's not fun to spend hours getting a player set up to realize you can't use it. Additionally, is there any roadmap for React 18 support or a workaround?

 

Thank you,

Ben

Reply

Accepted Solutions
Marked as solution

Currently it is not supported to work via their examples, yes. I still believe Spotify should work to fix this, however there is a workaround. I posted an answer on StackOverflow here, you can check it out.

View solution in original post

3 Replies

One workaround I thought of is to use the Web API to control playing, pausing, etc

Marked as solution

Currently it is not supported to work via their examples, yes. I still believe Spotify should work to fix this, however there is a workaround. I posted an answer on StackOverflow here, you can check it out.

Thank you for taking the time to figure this out and post in here!

Suggested posts

Staff
Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random

Type a product name