Comments (6)
I met this problem too, could you tell me your solution? Thanks very much! @PainterPuppets
from react-particles-js.
@potaty please tell me how to reproduce or provide a link so I can understand what's wrong
from react-particles-js.
This also keeps happening to me - so much so I've needed to revert to just using the particles.js <script> tag in index.html for now.
It seems to happen a lot of the time for me when calling setState()
from within a lifecycle method.
from react-particles-js.
It is almost assured that the function canvasClear
in ParticlesLibrary throws the error.
It is not clear tho why is this happening and why it is not easily reproducible.
If someone can reproduce it, here is a sandbox: Sandbox.
from react-particles-js.
So sorry @wufe, even in the same environment, It could not be reproduced, version: 2.1.0.
from react-particles-js.
Thanks @potaty I'm closing this one.
from react-particles-js.
Related Issues (20)
- Can't perform a React state update on an unmounted component. HOT 1
- Polygon Mask
- installation error dependecy conflict HOT 4
- [Bug] TypeError: Cannot read property 'circle' of undefined in Next.JS HOT 11
- Cannot find module HOT 8
- Benefits compared to tsparticles official react lib HOT 4
- Polygon not drawing image from svg. HOT 1
- Bug: Polygon doesn't draw from svg containing text
- Canvas stretches particles until resize HOT 2
- Cannot find module HOT 4
- Unable to use react-particles-js due to tsparticles dependency. HOT 7
- Packages outdated for React v17 HOT 1
- ModuleNotFoundError 'tsparticles/Plugins/PolygonMask/Enums' HOT 3
- Start point of particles HOT 1
- Cannot read property 'resize' of undefined in tsparticles HOT 1
- Polygon nb_sides doesn't take effect HOT 1
- react-particles-js crashed after introduce typescript HOT 5
- Particles Disappear When Page Is Refreshed HOT 6
- Why was this deprecated? HOT 2
- Cannot close the `View-code` modal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-particles-js.