-
|
In some cases it is required to use dynamic import for diminishing size of initial scripts loading. How should it be implemented in case of FSD? |
Beta Was this translation helpful? Give feedback.
Answered by
illright
Oct 20, 2025
Replies: 1 comment
-
|
Exactly the same way as you would use static imports — make sure you don't break the rules of imports on slices:
If the public API becomes a problem for tree shaking, we have some advice here — https://feature-sliced.github.io/documentation/docs/reference/public-api#issues-with-index-files |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Vadiok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exactly the same way as you would use static imports — make sure you don't break the rules of imports on slices:
If the public API becomes a problem for tree shaking, we have some advice here — https://feature-sliced.github.io/documentation/docs/reference/public-api#issues-with-index-files