Skip to content

docs(development): add react devtools page #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/development/react-devtools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: React Developer Tools
description: Installing and using React Developer Tools in Spotify.
---

To install React Developer Tools in Spotify:

1. Launch Spotify in the developer mode (and with the `--enable-chrome-runtime` flag if you are using **Spotify older than 1.2.34**; without it React Developer Tools won't work)
2. Press *Ctrl + Shift + T*
3. Press *Ctrl + N*
4. Navigate to the React Developer Tools page on Chrome Web Store using the address bar: `https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi`
5. Press the "Add to Chrome" button
6. Confirm your choice

You may need to press *F5* to get the extension working.

If you get an error saying that you're not allowed to install extensions, try using this switch: `--allowlisted-extension-id=fmkadmapgofadopljbjfkapdkoienihi`.

You can find more info about React Developer Tools on the [official React website](https://react.dev/learn/react-developer-tools).
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const sidebars = {
'development/themes',
'development/custom-apps',
'development/js-modules',
'development/react-devtools',
'development/spotify-cli-flags',
{
type: 'category',
Expand Down