Not a Number

Subscribe
Archives
February 21, 2023

Using React Keys With Framer Motion

Hi there!

This morning I released a new post called "The Power of Keys in Framer Motion": nan.fyi/keys-in-framer-motion. We talk about how to use the React key prop to make animations like these:

CleanShot 2023-02-21 at 09.00.31.gif

Until recently, I've only ever thought of using keys to suppress warnings in loops:

CleanShot 2023-02-21 at 09.07.28@2x.png

Turns out they are so much more than that!

Hope you enjoy the read, and as always, let me know what you think!

Thanks, Nanda

Don't miss what's next. Subscribe to Not a Number:
Powered by Buttondown, the easiest way to start and grow your newsletter.