Open benwoodward opened 3 years ago
@benwoodward
selecto
1.13.0react-selecto
1.13.0preact-selecto
1.13.0ngx-selecto
1.13.0svelte-selecto
1.13.0lit-selecto
1.13.0About Cannot read property 'destroy' of undefined
bug was fixed. I don't know about other issues.
@benwoodward
svelte-selecto
1.13.1Solve this problem. Try it again.
Environments
Description
Selecto throws 'not a valid SSR component error' due to this issue (I believe): https://github.com/sveltejs/sapper/issues/774
Also relevant: https://github.com/rob-balfre/svelte-select/issues/87
Solution
Change:
EDIT: Actually this doesn't work, leads to this error:EDIT: IncorrectConcerns
This solution depends upon the uncompiled Selecto component being shipped in the npm package.
## Another solution (untested):Doesn't work in SvelteKit