Skip to content

Commit 3f32d21

Browse files
docs(development): add react devtools page (#164)
1 parent 06b3ee2 commit 3f32d21

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

docs/development/react-devtools.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: React Developer Tools
3+
description: Installing and using React Developer Tools in Spotify.
4+
---
5+
6+
To install React Developer Tools in Spotify:
7+
8+
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)
9+
2. Press *Ctrl + Shift + T*
10+
3. Press *Ctrl + N*
11+
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`
12+
5. Press the "Add to Chrome" button
13+
6. Confirm your choice
14+
15+
You may need to press *F5* to get the extension working.
16+
17+
If you get an error saying that you're not allowed to install extensions, try using this switch: `--allowlisted-extension-id=fmkadmapgofadopljbjfkapdkoienihi`.
18+
19+
You can find more info about React Developer Tools on the [official React website](https://react.dev/learn/react-developer-tools).

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const sidebars = {
4949
'development/themes',
5050
'development/custom-apps',
5151
'development/js-modules',
52+
'development/react-devtools',
5253
'development/spotify-cli-flags',
5354
{
5455
type: 'category',

0 commit comments

Comments
 (0)