steveruizok/perfect-freehand

[feature] Reduce import dependencies (e.g. zustand)

tarngerine opened this issue · 2 comments

Hi, just running through all the package deps, noticed that zustand was being added?

image

@tldraw/core also comes with react-use-gesture
image

Would be nice to slowly reduce the dependencies here — thanks!

Good catch! I've removed those dependencies from the package. (It's back to zero deps). The root package.json will show dependencies from the dev server, which is used for the example site; but the deps in the packages/perfect-freehand/package.json are now clean.

Fixed in 1f9b575