GithubHelp home page GithubHelp logo

Svelte 5 support? about svelte-multiselect HOT 1 OPEN

ndom91 avatar ndom91 commented on May 28, 2024 1
Svelte 5 support?

from svelte-multiselect.

Comments (1)

janosh avatar janosh commented on May 28, 2024 2

@ndom91 Svelte v5 support is definitely coming!

I remember there was a reason for having ondrop="return false" over ondrop={() => false} but maybe that's no longer the case with Svelte 5. If so, easy fix.
The main blocker right now is mdsvexamples used extensively in the docs. Just upgraded to 5.0.0-next.35 and still get vite compilation errors:

    at option (/Users/janosh/dev/svelte-multiselect/src/site/Examples.svx___mdsvexample___2.svelte:37:49)
    at Module.slot (/Users/janosh/dev/svelte-multiselect/node_modules/.pnpm/svelte@5.0.0-next.35/node_modules/svelte/src/internal/server/index.js:440:3)
    at $$render_inner (/Users/janosh/dev/svelte-multiselect/src/lib/MultiSelect.svelte:762:27)
    at MultiSelect (/Users/janosh/dev/svelte-multiselect/src/lib/MultiSelect.svelte:885:3)
    at Examples_svx___mdsvexample___2 (/Users/janosh/dev/svelte-multiselect/src/site/Examples.svx___mdsvexample___2.svelte:26:35)
    at /Users/janosh/dev/svelte-multiselect/src/site/Examples.svx:189:48
    at Module.slot (/Users/janosh/dev/svelte-multiselect/node_modules/.pnpm/svelte@5.0.0-next.35/node_modules/svelte/src/internal/server/index.js:437:4)
    at example (/Users/janosh/dev/svelte-multiselect/src/site/Examples.svx:184:11)
    at Module.slot (/Users/janosh/dev/svelte-multiselect/node_modules/.pnpm/svelte@5.0.0-next.35/node_modules/svelte/src/internal/server/index.js:440:3)
    at CodeExample (/Users/janosh/dev/svelte-multiselect/node_modules/.pnpm/svelte-zoo@0.4.9_vite@5.0.11/node_modules/svelte-zoo/dist/CodeExample.svelte:70:25)
11:43:02 AM [vite] warning: Example src not found for /Users/janosh/dev/svelte-multiselect/___mdsvexample___0.svelte

Feel free to chime in at mattjennings/mdsvexamples#30 if you think now's the time to address these.

from svelte-multiselect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.