pixi-react

Write PIXI apps using React declarative style

MIT License

Downloads
55.6K
Stars
2.1K
Committers
56

Bot releases are hidden (Show)

pixi-react - v7.0.0-alpha.0

Published by Zyie almost 2 years ago

Changes

  • Added support for react 18 #358
pixi-react - v6.8.0

Published by inlet over 2 years ago

Improved

  • Move update events from window to root container
pixi-react - v6.7.0

Published by inlet over 2 years ago

Added

Support for <Graphics geometry={geometry} />, see #334

pixi-react - v6.6.6

Published by inlet over 2 years ago

Improved

Support Federated Events API

pixi-react - v6.6.5

Published by inlet about 3 years ago

Improved

Export internal types (InteractionEvents)

pixi-react - v6.6.4

Published by inlet about 3 years ago

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 ...
}
pixi-react - v6.6.2

Published by inlet over 3 years ago

Add fixes for element creation regarding the config for custom components

pixi-react - v6.6.1

Published by inlet over 3 years ago

Added

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

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

pixi-react - v6.5.3

Published by inlet over 3 years ago

Updated

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

Added

  • Make <Text /> component compliant with react-spring
pixi-react - v6.5.2

Published by inlet over 3 years ago

Update react-spring types

pixi-react - v6.5.1

Published by inlet over 3 years ago

Fixed

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

pixi-react - v6.5.0

Published by inlet over 3 years ago

Improved

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

Published by inlet over 3 years ago

Updated

  • React reconciler
  • React Spring to stable v9
  • Modules

Removed

  • postinstall script for react-spring
pixi-react - v6.3.0

Published by inlet over 3 years ago

Improved rendering stage when renderOnComponentChange is set to true

pixi-react - v6.2.1

Published by inlet over 3 years ago

Update Interaction Event types for pixi v6

pixi-react - v6.2.0

Published by inlet over 3 years ago

Support for Pixi.js v6 🎉

pixi-react - v6.1.0

Published by inlet over 3 years ago

Added

  • Add unmountComponentAtNode to remove a container from internal roots list
  • Update docs regarding render via DOM and custom render

Updated

  • Node modules
  • Stage now uses the unmountComponentAtNode on componentWillUnmount
pixi-react - v6.0.5

Published by inlet almost 4 years ago

Fixed

Add postinstall.js to npm files and move replace-in-file to deps

pixi-react - v6.0.3

Published by inlet almost 4 years ago

Fixed

The useTicker hook now correctly unmounts

pixi-react - v6.0.2

Published by inlet almost 4 years ago

Fixes

Unmount native sub children