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 :)
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 :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 :)
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 :)