Dan Wood

Results 57 comments of Dan Wood

@akphi's comment is helpful, but this still has a linting error for the `useDrag` hook when you have linting enabled for the react compiler.

@Gr33nLight Your example doesn't give us enough information and context on what problem you are facing to have anyone help you here

@Gr33nLight I've had a look over your code, and it looks like react 19 is running the setData callback in `DraggableList` twice for some reason. I can't get to the...

This should be an optional type, but in the mean time you can remove the TS error and maintain original behaviour by using `useNext={false}`

You can add this to your `package.json` to override the peer dependency resolution: ```json "overrides": { "@kindspells/astro-shield": { "astro": "$astro" } } ```

That works perfectly, thank you! I was able to make it work with a custom context, but this is more ergonomic, even though it does expand the API surface

Also ran into this issue using SVGR. Basic `id`s and `id.end` work, but having `id.end + 0.06s` does not get prefixed and breaks

Do not merge this just yet. I've found an issue that needs addressing first.

VSCode uses [guesslang](https://github.com/yoeo/guesslang) to do this, but that repo hasn't been touched in 4 years. I wonder if there might be some low-hanging fruit here for a more modern /...