docs: clarify priority ordering behavior - #1152
Merged
colinodell merged 2 commits intoSep 9, 2026
Merged
Conversation
Member
|
Thank you for the contribution! Overall, these changes look great and will be very helpful to users. I'm adding a few minor tweaks, but nothing that significantly changes what you've added. |
Revises the priority documentation added in the previous commit: - Removes the claim that event listeners are exempt from same-priority ordering surprises. They aren't - a listener added directly still runs before one registered by an extension added earlier, since extensions don't register until the environment is first used. - Replaces "the default priority is 0, use a higher number" with the ranges the core extension actually uses. Only renderers sit at 0; block start parsers and inline parsers span 70..-100 and 200..10. - Explains why the same component registered directly vs. inside an extension behaves differently, which is the confusion behind thephpleague#1023. - Links the word "priority" in each method description instead of appending a separate cross-reference sentence. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GGVgn9d4f4ZXrvga193n6U
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.
Clarifies how component priorities should be used when customizing the environment.
The documentation now explains that:
This is documentation-only and does not change runtime behavior.
Verification:
git diff --check— pass#prioritylinks, tie guidance, and event-listener exception — pass2.10AI assistance was used to help review the relevant priority semantics and prepare the documentation patch; the final diff and source behavior were reviewed directly.
Refs #1023.