MDL-87987 [docs] add React Profiler guide for dev-mode mounting#1534
Merged
andrewnicols merged 1 commit intomoodle:mainfrom Mar 19, 2026
Merged
MDL-87987 [docs] add React Profiler guide for dev-mode mounting#1534andrewnicols merged 1 commit intomoodle:mainfrom
andrewnicols merged 1 commit intomoodle:mainfrom
Conversation
✅ Deploy Preview for moodledevdocs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
andrewnicols
requested changes
Mar 16, 2026
8c50349 to
b0a48af
Compare
andrewnicols
requested changes
Mar 18, 2026
b0a48af to
b0daa76
Compare
Add a new guide at docs/guides/javascript/react/profiler.md that explains Moodle’s React profiling workflow in developer mode. The document covers: - How jsrev = -1 enables React development/profiling behavior in both PHP and browser layers - Programmatic mounting and unmounting via core/mount - Required module/export structure for new React components - Use of withProfiler for components mounted outside mountReactApp - Expected console output and render-time warnings in dev mode Also update project-words.txt to include unminified for spell-check consistency.
b0daa76 to
16dd3db
Compare
andrewnicols
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new guide at docs/guides/javascript/react/profiler.md that explains Moodle’s React profiling workflow in developer mode.
The document covers:
Also update project-words.txt to include unminified for spell-check consistency.