Releases: pixijs/pixi-react
Releases · pixijs/pixi-react
v6.6.6
v6.6.5
v6.6.4
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
v6.6.1
Added
You can now provide a config
object in a PixiComponent
to control the the reconciliation behaviour, see: