Skip to content

Preserve state on hot reload#3896

Open
T4rk1n wants to merge 1 commit into
devfrom
state-preserving-hot-reload
Open

Preserve state on hot reload#3896
T4rk1n wants to merge 1 commit into
devfrom
state-preserving-hot-reload

Add dev_tools_hot_reload_preserve_state: keep UI state across hot rel…

10bf248
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 13, 2026 in 1m 8s

Annotations

Check warning on line 172 in dash/dash-renderer/src/reloadState.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDlsWw4wwGCXQyRU&open=AZ9bnDlsWw4wwGCXQyRU&pullRequest=3896

Check warning on line 66 in dash/dash-renderer/src/reloadState.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDlsWw4wwGCXQyRO&open=AZ9bnDlsWw4wwGCXQyRO&pullRequest=3896

Check warning on line 111 in dash/dash-renderer/src/reloadState.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDlsWw4wwGCXQyRQ&open=AZ9bnDlsWw4wwGCXQyRQ&pullRequest=3896

Check warning on line 149 in dash/dash-renderer/src/reloadState.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDlsWw4wwGCXQyRS&open=AZ9bnDlsWw4wwGCXQyRS&pullRequest=3896

Check warning on line 166 in dash/dash-renderer/src/APIController.react.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDqLWw4wwGCXQyRV&open=AZ9bnDqLWw4wwGCXQyRV&pullRequest=3896

Check warning on line 32 in tests/integration/devtools/test_hot_reload_preserve_state.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDrFWw4wwGCXQyRX&open=AZ9bnDrFWw4wwGCXQyRX&pullRequest=3896

Check warning on line 155 in dash/dash-renderer/src/reloadState.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDlsWw4wwGCXQyRT&open=AZ9bnDlsWw4wwGCXQyRT&pullRequest=3896

Check warning on line 73 in dash/dash-renderer/src/reloadState.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDlsWw4wwGCXQyRP&open=AZ9bnDlsWw4wwGCXQyRP&pullRequest=3896

Check warning on line 55 in dash/dash-renderer/src/reloadState.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`RECORDED_RENDER_TYPES` should be a `Set`, and use `RECORDED_RENDER_TYPES.has()` to check existence or non-existence.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDlsWw4wwGCXQyRN&open=AZ9bnDlsWw4wwGCXQyRN&pullRequest=3896

Check warning on line 2019 in dash/dash.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method "enable_dev_tools" has 14 parameters, which is greater than the 13 authorized.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDq6Ww4wwGCXQyRW&open=AZ9bnDq6Ww4wwGCXQyRW&pullRequest=3896

Check warning on line 141 in dash/dash-renderer/src/reloadState.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=plotly_dash&issues=AZ9bnDlsWw4wwGCXQyRR&open=AZ9bnDlsWw4wwGCXQyRR&pullRequest=3896