Gatsby + Particles
See original GitHub issueHi, I am trying to run the simple possible example of Particles with Gatsby, and It seems to not work for any combination. My index file looks like:
import React from "react"
import Particles from 'react-particles-js';
export default () => (
<div>
<Particles/>
</div>
);
I can see that the canvas is added into DOM, but nothing is shown. Is it a correct approach?
React version: 16.2.0 Gatsby version: 1.9.207 Particle version: 2.1.0
Issue Analytics
- State:
- Created 6 years ago
- Comments:20 (3 by maintainers)
Top Results From Across the Web
tsparticles-gatsby-landing-page-starter - npm
tsParticles is a lightweight library for easily creating particles animations in your websites or web applications. The tsParticles library is ...
Read more >javascript - Using ParticleJS with Gatsby - Stack Overflow
I start with fetching npm install react-particles-js . I started with a very simple example : import React from "react" import Particles ......
Read more >Gatsby + Particles · Issue #23 · wufe/react-particles-js - GitHub
Hi, I am trying to run the simple possible example of Particles with Gatsby, and It seems to not work for any combination....
Read more >Particle - Gatsby
Particle is a fully-integrated IoT platform that offers everything you need to deploy an IoT product. ... community and Gatsby, the company.
Read more >tsparticles-gatsby-landing-page-starter - npm package - Snyk
tsParticles is a lightweight library for easily creating particles animations in your websites or web applications. The tsParticles library is ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Of course you can also use this library https://github.com/lindelof/particles-bg
It’s working here, check my repo to see how I did it. https://github.com/RobertoMSousa/gatsbyjs_hello_world