Claudéric Demers
Claudéric Demers
You can import the `isSortable` type guard from `@dnd-kit/dom/sortable`
It is exported: https://github.com/clauderic/dnd-kit/blob/experimental/packages/dom/src/sortable/index.ts#L3 You have to import it from `@dnd-kit/dom/sortable` but I will make a note to re-export it from `@dnd-kit/react/sortable`
Oh, it must only exported in the nightly builds, I have not merged `0.0.6` yet. Try installing one of the nightly builds, the latest one is [0.0.6-beta-20241204184550](https://www.npmjs.com/package/@dnd-kit/react/v/0.0.6-beta-20241204184550)
I just ran into the same issue reported by @apicai, any luck fixing it?
Actually I figured it out, you need to pass the `?deps` argument to force the react/react-dom versions to be 18.2.0 for `@condesandbox/sandpac-react`: ```html { "imports": { "react": "https://esm.sh/[email protected]", "react-dom": "https://esm.sh/[email protected]",...
Not yet, I wasn't sure what the most appropriate API surface for it should look like.
There's a new version of @dnd-kit coming soon. You can learn more [here](https://next.dndkit.com/). You can try the new `@dnd-kit/react` package which solves this issue, though be aware that this is...
Refer to https://github.com/clauderic/dnd-kit/issues/1194#issuecomment-1696704815
I'm still looking for someone in the community to create a `@dnd-kit/vue` package, I would happily accept a pull request to that effect. It should be fairly trivial to do...
So excited for this! I know @hanneskuettner was also looking into setting up multi-framework stories through [Storybook composition](https://storybook.js.org/docs/sharing/storybook-composition) for the [Vue integration](https://github.com/clauderic/dnd-kit/pull/1668)