Skip to content

View Transition Alias

document .startViewTransition // too much to write // makes alias: short for transition const txn = document .startViewTransition txn ( async () => { // much better }) One alias could save a lot of characters. sounds like a Geico commercial…

AA
Jan 17, 20241 min read

ocument .startViewTransition // too much to write // makes alias: short for transition const txn = document .startViewTransition txn ( async () => { // much better }) One alias could save a lot of characters. sounds like a Geico commercial…

Did you enjoy this article?

Recommend it — Standard Reader surfaces well-loved writing to more readers across the network.

Across the AtmosphereDiscussions