![]() ![]() The island will not be in the same component tree, so you can’t use things like context.Components inside the island, however, can use slots. Because the client-side component API doesn’t support passing slots, you can’t use slots with an island component.Since the island is created using the client-side component API in a generated, all props passed to the island must be serializable with devalue.If you need access to these imports, you can pass them into your islands as a prop. ![]() While it may appear to work in dev, it will fail at build time since the island components are bundled separately and don’t have access to the same aliases.
0 Comments
Leave a Reply. |