Skip to content

Releases: pixijs/pixi-react

v6.0.3

12 Nov 10:45
Compare
Choose a tag to compare

Fixed

The useTicker hook now correctly unmounts

v6.0.2

02 Nov 16:39
Compare
Choose a tag to compare

Fixes

Unmount native sub children

v6.0.1

02 Nov 15:07
Compare
Choose a tag to compare

Update modules to latest (incl. React v17.0.1)

v6.0.0

22 Oct 14:34
Compare
Choose a tag to compare

React 17 compatible 🎉

As you might have noticed, React 17 just landed with quite some improvements. Hooray, this means that I had to implement new methods to the reconciler as well. I'm happy to inform you that ReactPixi is now fully compatible with React 17.

NOTE: This release is not compatible with React 16.x or older. If you need to stick to React 16.x make sure to use ReactPixi v5.x.

v5.2.0

13 Oct 14:14
Compare
Choose a tag to compare

Added

Support for pixi legacy without having to create aliases in your project 🎉

npm install pixi.js-legacy
import { Stage } from '@inlet/react-pixi/legacy';
<Stage options={{ forceCanvas: true }}>... </Canvas>

v5.1.7

11 Oct 14:42
Compare
Choose a tag to compare

Improved

Now the devtools will be injected once, this prevents warning errors or duplicate injections.

v5.1.6

11 Oct 13:34
Compare
Choose a tag to compare

Fixed

Make prop { options: { resizeTo } } for <Stage> optional.

v5.1.4

24 Sep 09:39
Compare
Choose a tag to compare

Fixed

Typings for animated components

v5.1.3

23 Sep 11:35
Compare
Choose a tag to compare

React Spring

🎉 Use React-Pixi with React Spring is now available through import @inlet/react-pixi/animated,
see https://reactpixi.org/react-spring

Compatible with react-spring@next (v9+). Note that older versions of react-spring don't work as they have a different API.

Removed

  • fbjs dependency
  • idx dependency

Added

  • Typings for animated
  • Docs regarding react-spring
  • Use invariant as util
  • Npm sub package for animated.

Improved

  • Only auto test and build on prepack

CDN Links

React-Pixi:
https://unpkg.com/@inlet/[email protected]/dist/react-pixi.umd.js

React-Pixi with React-Spring support:
https://unpkg.com/@inlet/[email protected]/animated/react-pixi.umd.js

Update interaction manager

31 Aug 13:59
Compare
Choose a tag to compare

Fixed

Instead of resetting the interaction manager, simply update the resolution of the interaction manager. Libraries like pixi-viewport depends on the interaction manager, this patch will fix any related issues.