We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get the following error when I use the latest version of the React library:
Uncaught TypeError: Cannot read properties of undefined (reading 'alternate') at getNearestMountedFiber (react-reconciler.development.js:496:14)
Is it just me or is there a problem with the latest React version?
Expected to run smoothly
Tried to run this code:
import { BlurFilter } from 'pixi.js'; import { Stage, Container, Sprite, Text } from '@pixi/react'; import { useMemo } from 'react'; export const MyComponent = () => { const blurFilter = useMemo(() => new BlurFilter(4), []); return ( <Stage> <Sprite image="https://pixijs.io/pixi-react/img/bunny.png" x={400} y={270} anchor={{ x: 0.5, y: 0.5 }} /> <Container x={400} y={330}> <Text text="Hello World" anchor={{ x: 0.5, y: 0.5 }} filters={[blurFilter]} /> </Container> </Stage> ); };
@pixi/react
pixi.js
React
ReactDOM
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current Behavior
I get the following error when I use the latest version of the React library:
Is it just me or is there a problem with the latest React version?
Expected Behavior
Expected to run smoothly
Steps to Reproduce
Tried to run this code:
Environment
@pixi/react
version: 7.1.1pixi.js
version: 7.3.1React
version: 18.2.0ReactDOM
version: 18.2.0Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: