Skip to content

[FIX] Prevent unneceassary JS loading in the frontend#255

Merged
jdamner merged 2 commits intomainfrom
fix/iconography/prevent-unnecessary-js-loading
Dec 3, 2024
Merged

[FIX] Prevent unneceassary JS loading in the frontend#255
jdamner merged 2 commits intomainfrom
fix/iconography/prevent-unnecessary-js-loading

Conversation

@jdamner
Copy link
Copy Markdown
Contributor

@jdamner jdamner commented Dec 3, 2024

enqueue_block_assets loads on the frontend, meaning we were loading the admin interface on the frontend. This also in turn enqueued a whole heap of dependancies including react on the frontend, which had a significant performance impact.

@jdamner jdamner enabled auto-merge December 3, 2024 10:57
@jdamner jdamner merged commit c8d82f0 into main Dec 3, 2024
@jdamner jdamner deleted the fix/iconography/prevent-unnecessary-js-loading branch December 3, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants