[wp-trac] [WordPress Trac] #62435: Preload script modules and enqueue script modules in wrong order
WordPress Trac
noreply at wordpress.org
Tue Nov 19 05:12:28 UTC 2024
#62435: Preload script modules and enqueue script modules in wrong order
-----------------------------------------+------------------------------
Reporter: yogeshbhutkar | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 6.5
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+------------------------------
Comment (by yogeshbhutkar):
Thank you, @jonsurrell, for your detailed explanation.
The final points you mentioned were particularly helpful in addressing the
query. Since this issue was originally raised by another contributor on
the Gutenberg GitHub repository, I will incorporate my understanding of
the problem from their perspective while presenting my response.
As you pointed out, the primary rationale for prioritizing module imports
was their higher importance in the overall execution flow. This
clarification significantly resolves the query.
The confusion likely stemmed from the general convention of importing
preloads before modules, which is a widely recognized standard practice.
I'll be tagging the original author on GitHub and request him to provide
his views for further clarity in case I missed something.
Thanks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62435#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list