tim-soft / react-particles-webgl

🔆 A 2D/3D particle library built on React, Three.js and WebGL
https://timellenberger.com/particles
MIT License
464 stars 32 forks source link

TypeError callback is not a function #50

Open Hawasaki7 opened 2 years ago

Hawasaki7 commented 2 years ago

hey i wanted to check this extension for my little project, i try to visit any sandbox uploaded by tim, but every time i get the typeerror, could you tell me what can be the reason behind it? i want to use 3d snowfall in my r3f scene...


`TypeError
callback is not a function
flushFirstCallback
https://308zj3k7l1.csb.app/node_modules/scheduler/cjs/scheduler.development.js:107:28
flushWork
https://308zj3k7l1.csb.app/node_modules/scheduler/cjs/scheduler.development.js:219:11
$csb$eval/channel.port1.onmessage
https://308zj3k7l1.csb.app/node_modules/scheduler/cjs/scheduler.development.js:611:30
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.
This error overlay is powered by `react-error-overlay` used in `create-react-app`.`
onurryazici commented 1 year ago

@Hawasaki7 This error inflating because of new version of three library. You must install three version 0.107.0

**npm install react-particles-webgl three@0.107.0**