Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this discontinued? #57

Open
frederikhors opened this issue Jul 5, 2023 · 3 comments
Open

Is this discontinued? #57

frederikhors opened this issue Jul 5, 2023 · 3 comments

Comments

@frederikhors
Copy link

Is this discontinued?

@kaisermann
Copy link
Owner

Hey @frederikhors 👋, I don't actively maintain this package anymore but PRs are welcome 🙏

@frederikhors
Copy link
Author

They suggested this alternative, what do you think?

sveltejs/kit#4493 (comment)

{#await import('./MyComponent.svelte')}
  Loading... 
{:then { default: component } }
  <svelte:component this={component} />
{:catch error} 
  Failed to load component
{/await}

@kaisermann
Copy link
Owner

That will work well enough for most cases, yeah. You would only need to abstract it a bit in case you want to do the import lazily, like in an if block or something. It all depends on what you need 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants