Skip to content

Trying to understand where islandsByPath are filled #171

Answered by ElMassimo
codepunkt asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting question 😃

The answer is, through Vue's SSR Context.

You can see it being used in useIslandsForPath.

This composable is used in the Island component to gather information about rendered islands, in order to allow Rollup to build an optimized bundle for any JavaScript that should be shipped in the site.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@codepunkt
Comment options

@ElMassimo
Comment options

@codepunkt
Comment options

@ElMassimo
Comment options

Answer selected by codepunkt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants