GSAP Official Documentation Update and SVG Line Animation Exploration
Translated from Chinese by AI (deepseek-chat). It may differ from the original.
I think this article should be posted as a blog post, but I feel it should express more of my feelings and emotions, so I'll put it in my notes instead.
Two Things
I mainly want to record two things. The first thing made me very excited, from morning till afternoon, because the issue suggestion I made last week regarding the GSAP official documentation was adopted by the official team! I saw the email from GSAP official as soon as I woke up this morning. The second thing made me feel very meaningful, because I found that what I usually study was also studied by a predecessor three years ago.
First Issue Suggestion Adopted
When I woke up and checked my phone messages, I was pleasantly surprised to find two emails with the title clearly stating "Re: [greensock/GSAP] Docs: clarify Vue refs in gsap.context() scope examples (Issue #652)". The content was:

I couldn't wait to share the news with my colleagues and the guys in the tech group, because I was so excited! It was my first time submitting an issue, and the first time I got an official response. Although it wasn't a PR being merged, I was still very happy.
Looking back at last Friday:
Yesterday, the project's UI hadn't been designed yet, so it was still a day of paid learning. After refactoring and bookmarking the animations of my UI&Animation project (still in development), I continued reading the GSAP documentation, mainly focusing on the introductory GSAP docs. After finishing, I looked for an open-source project using Nuxt4 + GSAPopen-source project, to see how others use GSAP in Vue. When I saw gsap.context() in the project, I was very confused because the GSAP official documentation always talks about refs, but only for React and Angular refs, with no explanation for Vue refs. However, when I looked at the project usage, it clearly wasn't using the ref object directly; it was extracting the actual DOM element via .value.
So I told the guys in the tech group that GSAP official is biased, only providing explanations for React and Angular, with no information for Vue, making the documentation too easy to misunderstand. Unexpectedly, Guoxk in the group directly told me to submit a PR, which scared me because I had never even thought about such a thing.

Of course, there was also Tangtang in the group.

Because the GSAP official repository on GitHub doesn't record documentation content, submitting a PR wouldn't be merged, so I submitted an issue instead.

Then came today's reply.
This Afternoon's Research on SVG
This afternoon, I continued researching BenjaminOddou's portfolio project and collected many useful animations, including SVG line animation.
This animation made me feel very meaningful, not because it's particularly practical (though it might be very practical) or profound, but because three years ago, a Nuxt core team member and the founder of unocss — Anthony Fu (a Tony) — had also studied this animation. The animation that my favorite big shot once studied. I only learned this news this afternoon when I asked Guoxk in the group about SVG image creation. Tony's blog post -> To Blog (The animation details are in the blog, so I won't explain them here.)
Why do I also want to record this? It feels very simple, simply because the senior front-end developers once went through this learning process, which makes me feel that my research is valuable. I think my usual learning about content-driven websites, components, animations, etc., is really meaningful. Although I may not have used them many times yet, and I'm not very skilled, lacking practical significance, this treasure trove of technology will always be here, waiting to be discovered.
The moon three years ago once shone on those who explored SVG animations; the light I see today is also the light they once pursued.
Comments
No comments yet. Say something?