DEV Community

Discussion on: Animate the Opening Star Wars Crawl with React Hooks and GreenSock

Collapse
 
grasmachien profile image
grasmachien

Nicely done!

But why are you using react for something like this? Besides you wanting to learn react I can see no benefit in using it in this case. It only adds dead weight to the page.

I'm assuming you are just comfortable with building things in react and chose it for that reason. I'm really interested btw, not hating :)

Collapse
 
mandiwise profile image
Mandi Wise

Thanks for your comment! For context, when I wrote the original version of this post last year it was just a little experiment combining React and GSAP (I was testing the waters for using GSAP with a larger React-based project). If the only intention is to recreate the Star Wars crawl, then vanilla JS would definitely get the job done without a lot of extra JS behind the scenes :)