pmndrs / use-cannon

👋💣 physics based hooks for @react-three/fiber
https://cannon.pmnd.rs
2.73k stars 153 forks source link

Instantiate worker on connect, call it before init inside useEffect #370

Closed bjornstar closed 2 years ago

bjornstar commented 2 years ago

@pmndrs/cannon-worker-api

@react-three/cannon

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pmndrs/use-cannon/EMWmDYjQTHDGbJEUVvVJx5DHUWwu
✅ Preview: https://use-cannon-git-fork-bjornstar-worker-connect-pmndrs.vercel.app