gohypergiant / standard-toolkit

The web "standard library" for the Accelint family of systems.
Apache License 2.0
6 stars 1 forks source link

Switch to peer deps, handle Lodash imports with plugin #87

Closed ArrayKnight closed 1 week ago

brandonjpierce commented 1 week ago

@ArrayKnight what are your thoughts on using exclusively the @react-aria/* packages instead of the hoisted react-aria package? Would help out with things like tree shaking and for downstream tooling like Vitest, etc.

ArrayKnight commented 1 week ago

@ArrayKnight what are your thoughts on using exclusively the @react-aria/* packages instead of the hoisted react-aria package? Would help out with things like tree shaking and for downstream tooling like Vitest, etc.

I've switched it over to this. It expands the peer dep list and is a little bit more cumbersome to use. I have to reference https://github.com/adobe/react-spectrum/blob/main/packages/react-aria/src/index.ts to figure out where to import things from