Write PIXI apps using React declarative style
MIT License
Bot releases are visible (Hide)
Published by inlet about 5 years ago
Type defs for Sprite
and SimpleMesh
Published by inlet about 5 years ago
DevTools React DOM version.
Published by inlet about 5 years ago
AnimatedSprite: https://reactpixi.org/components/animated-sprite
Thanks to @paolotozzo
Published by inlet about 5 years ago
Add enabled
flag to useTick
type definition.
Published by inlet about 5 years ago
Add applyDefaultProps
to type definition and update docs
Published by inlet about 5 years ago
Expose applyDefaultProps
for Custom Components.
Published by inlet about 5 years ago
Peer dependencies are now accepting minor and patch versions.
Published by inlet over 5 years ago
🎉 Major release
Fully supports pixi.js
v5!
SimpleRope
, props, etc)source
and video
props on DisplayObjects like <Sprite />
@testing-library/react
for testing hooks correctlyThanks to all contributors, special thanks to @fabienjuif and @Adamfsk 👏
Note: If you are restricted to pixi.js v4
you'll need an older release of @inlet/react-pixi
Published by inlet over 5 years ago
React Reconciler works again, wait for the alpha
package react-reconciler
to become stable.
Published by inlet over 5 years ago
esm
.Published by inlet over 5 years ago
canvas-prebuilt
and support new jest environmentPublished by inlet over 5 years ago
Performance for adding/removing event listeners.
Published by inlet over 5 years ago
Provide options.view
to Stage props.
Published by inlet over 5 years ago
Support React Suspense
Published by inlet over 5 years ago
Support crossorigin
for Texture images, example:
<Sprite image="http://placekitten.com/200/300" crossorigin={true} />
Published by inlet over 5 years ago
PointLike
type more strictPublished by inlet over 5 years ago
Text component anchor
prop is now a PointLike
type.
Add comments to type declaration to support in-code type suggestions.
Published by inlet over 5 years ago
Typings for HOC withPixiApp
Published by inlet over 5 years ago
Enable the useTick
hook with a second argument:
import { useTick } from '@inlet/react-pixi'
const myComponent = () => {
const [enableTick, setEnableTick] = useState(true)
useTick((delta: number) => {
// raf
}, enableTick)
}
Published by inlet over 5 years ago
Bug that fire events twice