Skip to content

Commit 5dfbb2e

Browse files
josephfuscoCopilot
andauthored
Update .changeset/funny-ravens-run.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 136be6b commit 5dfbb2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/funny-ravens-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Feat: Added support `next/dynamic` imports for templates to reduce initial bundle size in a way that's backwards compatible with static imports.
66

7-
This solves a known issue in Faust where all defined templates are bundled together and loaded on every WordPress page. by enabling the use of dynamic importing of templates this issue is resolved. Now templates are only loaded as needed per route.
7+
This solves a known issue in Faust where all defined templates are bundled together and loaded on every WordPress page. By enabling the use of dynamic importing of templates this issue is resolved. Now templates are only loaded as needed per route.
88

99
It's recommended you migrate to dynamic imports by updating your template file. Here's an example:
1010

0 commit comments

Comments
 (0)