Skip to content

Commit

Permalink
docs(development): add react devtools page (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila authored Feb 3, 2025
1 parent 06b3ee2 commit 3f32d21
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
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

0 comments on commit 3f32d21

Please sign in to comment.