Skip to content

[React Scan] Implement dev-only render profiler with per-part toggles#3777

Closed
ValeriaMaltseva wants to merge 5 commits into
2025.4from
feat-react-scan-tool
Closed

[React Scan] Implement dev-only render profiler with per-part toggles#3777
ValeriaMaltseva wants to merge 5 commits into
2025.4from
feat-react-scan-tool

Conversation

@ValeriaMaltseva

@ValeriaMaltseva ValeriaMaltseva commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Adds react-scan to spot unnecessary re-renders during development. Dev-only and off by default - never ships to production.

How to enable (flip locally, keep false in git)

  • Main app - templates/default/index.html.twig:
    {% set reactScanEnabled = true %}
  • Document-editor iframe - assets/js/src/core/utils/environment.ts (needs an SDK rebuild):
    {% export const REACT_SCAN_ENABLED = true %}
    

Enable whichever part you're profiling, or both for full coverage. Both still require the dev environment.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions github-actions Bot locked and limited conversation to collaborators Jul 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant