Open Kasunjalitha opened 2 years ago
You don't need to install that package to have particles in React. There's this package that already creates a particles component in React: https://github.com/Wufe/react-particles-js
There's a deprecation notice here: https://github.com/Wufe/react-particles-js#warning-deprecation-notice that recommends to migrate to react-tsparticles
OoWw can't use it in react?
OoWw can't use it in react?
It’s not recommended since there's a memory leak that can worsen the website performance
You can see an example of that issue here: https://codepen.io/matteobruni/pen/dyZeYOg
I wanna setup this particles.js library with React application. I have installed with
npm install particles.js
. Then how to import it and use it? Where should I putparticlesjs-config.json
file?