Use Cannon Versions Save

👋💣 physics based hooks for @react-three/fiber

@react-three/[email protected]

2 years ago
  • DebugProvider explicitly lists children as a prop (@bjornstar)
  • Prefer PropsWithChildren over FC (@bjornstar)
  • Prefer function declarations over const (@bjornstar)
  • [hooks] All hooks are now generic, they accept any Object3D and return refs of whatever type was passed in (@bjornstar)
  • Update @types/react to v18 (@bjornstar)

@react-three/[email protected]

2 years ago
  • Use accurate ref types for all hooks (@bjornstar)
  • Prefer PropsWithChildren to FC (@bjornstar)
  • Update @types/react to v18 (@bjornstar)
  • Update @react-three/drei & @react-three/fiber (@bjornstar)
  • Update styled-components (@bjornstar)

@react-three/[email protected]

2 years ago
  • Add scaleOverride (@bjornstar)

@react-three/[email protected]

2 years ago
  • Use react-dom/client for react 18 features
  • Update @react-three/cannon to v6.2.0

@pmndrs/[email protected]

2 years ago
  • [@react-three/cannon] v6.2.0
  • [@react-three/cannon-examples] v2.2.0

@react-three/[email protected]

2 years ago
  • Updated react to v18
  • Updated three.js to r139
  • Updated @react-three/cannon to v6

@react-three/[email protected]

2 years ago
  • Update @react-three/cannon to v6.1.0

@pmndrs/[email protected]

2 years ago
  • [@pmndrs/cannon-worker-api] v2.0.0
  • [@react-three/cannon] v6.0.0
  • [@react-three/cannon-examples] v2.0.0

@react-three/[email protected]

2 years ago
  • Now calls connect before init in a useEffect (instead of useLayoutEffect)
  • Update @pmndrs/cannon-worker-api to v2.1.0

@react-three/[email protected]

2 years ago
  • Removed the Suspense wrapper around Physics, you will need to provide your own suspense boundary from now on
  • react is now a peerDependency and requires v18 or higher
  • three.js is now a peerDependency and requires r139 or higher
  • @react-three/fiber is now a peerDependency and requires v8 or higher
  • @pmndrs/cannon-worker-api is now a dependency
  • cannon-es is now a dependency
  • cannon-es-debugger is now a dependency
  • Updated many devDependencies