Closed romansavchuk1 closed 2 years ago
You must wrap the component with <Stage>
as stated in the error message
But same error has been appeared.
You need to wrap the NumberAnimation
component in <Stage>
:
const App = () => (
<Stage>
<NumberAnimation />
</Stage>
);
I got it, I solved it.
Description
I tried to use useTick, but An error has been appeared in React.
Steps to reproduce
1. 2.
Additional info
@inlet/react-pixi
version:React
version:ReactDOM
version:PIXI
version: