Skip to content

Releases: pixijs/pixi-react

v6.6.5

06 Aug 09:31
Compare
Choose a tag to compare

Improved

Export internal types (InteractionEvents)

v6.6.4

04 Aug 21:07
Compare
Choose a tag to compare

Improved

useTick now uses the ticker instance as this, example:

const Counter = () => {
  useTick(function tick(){
    console.log(this.elapsedMS) ;
  });

  return ...
}

or use the second param to retrieve the ticker instance:

const Counter = () => {
  useTick((delta, ticker) => {
    console.log(ticker.elapsedMS) ;
  })

  return ...
}

v6.6.2

14 Jun 11:42
Compare
Choose a tag to compare

Add fixes for element creation regarding the config for custom components

v6.6.1

14 Jun 10:38
Compare
Choose a tag to compare

Added

You can now provide a config object in a PixiComponent to control the the reconciliation behaviour, see:

https://reactpixi.org/custom-components#config

v6.5.3

04 Jun 11:19
Compare
Choose a tag to compare

Updated

  • dependecies
  • docz (added a temporary fix to make the build pass)

Added

  • Make <Text /> component compliant with react-spring

v6.5.2

29 Apr 14:38
Compare
Choose a tag to compare

Update react-spring types

v6.5.1

16 Apr 13:48
Compare
Choose a tag to compare

Fixed

Return changes for native components needed to commit updates during reconciliation.

v6.5.0

30 Mar 15:29
Compare
Choose a tag to compare

Improved

  • Default autoDensity=true, you can disable it: <Stage options={{ autoDensity: false }}>
  • Validate AnimatedSprite.texture for FrameObject as well

v6.4.0

23 Mar 18:04
Compare
Choose a tag to compare

Updated

  • React reconciler
  • React Spring to stable v9
  • Modules

Removed

  • postinstall script for react-spring

v6.3.0

20 Mar 15:43
Compare
Choose a tag to compare

Improved rendering stage when renderOnComponentChange is set to true