Ben McMahen's Avatar

Ben McMahen

@benmcmahen

design & code at frame.io / adobe. pnw

51
Followers
78
Following
10
Posts
29.10.2024
Joined
Posts Following

Latest posts by Ben McMahen @benmcmahen

Video thumbnail

πŸ‘€ React <ViewTransition> + DOM moveBefore()

- moveBefore() now allows React to preserve state during siblings reconciliation (experimental channel)

- you can animate those stateful elements with <ViewTransition>

Quite cool 😁

12.03.2025 13:41 πŸ‘ 84 πŸ” 13 πŸ’¬ 3 πŸ“Œ 0

oh awesome! That's an old one ... framer-motion 1.6! πŸ˜…

06.01.2025 16:38 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Design Systems are Infrastructure: The evolution of design systems in the age of AI In the past decade, design systems have transformed the way organizations create digital experiences, moving us from interpreting static style guides to a practice of regularly released and supported ...

In other words, Design Systems are Platform on the experience design side. I’ve been advocating for this mindset shift for the last few years, and this excellent article by Sam Anderson provides a fantastic overview of why. www.linkedin.com/pulse/design...

27.11.2024 16:45 πŸ‘ 4 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0

one of the great things about react-aria is that if one abstraction doesn't work for you (say, useGridList), you can always reach for a lower abstraction. With most libraries, you need to either opt-in entirely, or build from scratch.

27.11.2024 21:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

making some updates to our carousel
- built upon react-aria collections / keyboard controls / selection mechanics
- entrance / exit animations
- scroll masking under the arrow buttons

27.11.2024 21:01 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

oh wow, i thought it was just elon posts these days. might need to check it out again

27.11.2024 19:50 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

exit animations with the view transitions api:

::view-transition-old(.card):only-child {
animation: 300ms ease both fade-out;
}

... that's it. In React, this is so nice: no more `cloneElement` or array slicing.

27.11.2024 18:14 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

This please

26.11.2024 06:01 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Great advice! Thank you!

24.11.2024 19:04 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Well done! Since having a kid I’ve found it very difficult to find any time to exercise. Any tips?

24.11.2024 02:04 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

there should be an app that exposes you to the schemes and machinations of weirdos

23.11.2024 02:29 πŸ‘ 7 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

don’t useEffect, but if you must, don’t call setState in it

23.11.2024 16:20 πŸ‘ 209 πŸ” 29 πŸ’¬ 16 πŸ“Œ 5

oh no ... the video quality is even worse than twitter... 😩

31.10.2024 21:27 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

in my opinion, a list component shouldn't animate when filtering via something like a search input, but it should animate when delete / add mutations occur. at frame, our list component has this behavior built in

31.10.2024 21:26 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0