pmndrs / drei

🥉 useful helpers for react-three-fiber
https://docs.pmnd.rs/drei
MIT License
8.26k stars 682 forks source link

`Helper` now `useHelper` #1992

Closed abernier closed 3 months ago

abernier commented 3 months ago

Why

because Helper and useHelper impls were so close

What

Helper component now simply takes advantage on useHelper, just passing its parent's ref to it

CleanShot 2024-06-13 at 13 33 42@2x

Checklist

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 11:30am
codesandbox-ci[bot] commented 3 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.