Closed Arstman closed 4 years ago
Yeah, there is! Found a nasty bug while investigating your issue and released v1.3.2
. However, to be able to bind
to a loaded component prop, you must use svelte:component
inside the default
slot, instead of trying to bind
it directly to the Loadable
component. Check the readme to see an example: https://github.com/kaisermann/svelte-loadable#slots
Here's a REPL to help you: https://svelte.dev/repl/ee4e0487586f42c89582e58dd1686c20?version=3.17.0
great ! @kaisermann , you are the best!
Thanks a lot.
hi, I have try svelte-loadable and it works great, but when i try to binding any value from the parent component to a child component, it seem doesn't work in anyway.
App.svelte
Login.svelte
anything i did wrong?