Replies: 1 comment
-
@Rich-Harris My apologies for mentioning directly. Your name is the only one I know from the Svelte team. If you could help me out here, would be highly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, everyone.
I am trying to work with the
single-spa
team to upgrade thesingle-spa-svelte
package so it can mount and unmount Svelte v5 components. The process is arduous and as a faster route, one maintainer asked me about the use oflegacy.componentApi
instead of trying to make a full Svelte v5 conversion.Well, I don't understand very well about it when I read about
createClassComponent()
,asClassComponent()
andlegacy.componentApi
compiler option in this Svelte document. Is there any more detailed documentation available?Basically, I need enough information to be able to take a decision on how to make
single-spa-svelte
work for both v4 and v5 components.The documentation page shows how to use
createClassComponent()
, but there are no details about the other options.Any explanations around these new API will be very helpful. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions