DEV Community


Posted on

Convert React Class to Function Component 😢😢😢

Thanks in Advance. I Recently Started Learning React and Started off with Function Components and Am Unable to Convert This Code to Functional Component.

On the Very top Level of the File Structure there is a File particle.js

The Very First Class Component named Particles()

which is a Class Component and I am Not Able to Convert it.

Anyones Help with React and GSAP Expertise is Appreciated.

I Really Need it in Functional Component Only.

Thank You

Link to CodeSandBox

Discussion (0)