2021-10-13
1993
#react
Paul Ryan
6854
Oct 13, 2021 ⋅ 7 min read

Animations using React Hooks and GreenSock

Paul Ryan Developer hailing from Ireland. Loves all things JS and also starting to fall in love with SVGs!

Recent posts:

How to Use React Router v6 in React Apps

How to use React Router v7 in React apps

A practical guide to React Router v7 that walks through declarative routing, nested layouts, dynamic routes, navigation, and protecting routes in modern React applications.

Aman Mittal
Jan 16, 2026 ⋅ 15 min read

TanStack AI vs. Vercel AI SDK: Choosing the right AI library for React

TanStack AI vs. Vercel AI SDK for React: compare isomorphic tools, type safety, and portability to pick the right SDK for production.

Ikeh Akinyemi
Jan 16, 2026 ⋅ 8 min read
Authentication With React Router V6: A Complete Guide

Authentication with React Router v7: A complete guide

Handle user authentication with React Router v7, with a practical look at protected routes, two-factor authentication, and modern routing patterns.

Vijit Ail
Jan 15, 2026 ⋅ 15 min read

A developer’s guide to designing AI-ready frontend architecture

AI now writes frontend code too. This article shows how to design architecture that stays predictable, scalable, and safe as AI accelerates development.

Nelson Michael
Jan 15, 2026 ⋅ 9 min read
View all posts

3 Replies to "Animations using React Hooks and GreenSock"

  1. Hello, I love how you lay out everything step by step. Unfortunately, I’m not getting very far. I’m getting “circle is not defined” when I paste your code into your sandbox. Is there something else I need to import? TIA!

  2. Sorry for the delayed response – I didn’t see your message. For some reason, it’s working just fine now. I don’t know if I’ve installed something since I had the original problem or what! But at that time, I couldn’t get it to work in your sandbox, or in vscode on my laptop. It said, “circle is not defined.” But everything is good now – thanks!

Leave a Reply

Would you be interested in joining LogRocket's developer community?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now