Roma Komarov on Nostr: I really don't like the JS API of the view transitions, with the necessity to _wrap_ ...
I really don't like the JS API of the view transitions, with the necessity to _wrap_ all the actions in the `startTransition`, rather than having an ability to manually mark the “before” and “after” points. Like, why don't we have an `endTransition` or something similar?
Published at
2024-05-10 15:53:49Event JSON
{
"id": "7323981023d32a83838339a8a8bb47ac019e982f64aef5da89957609c8244d03",
"pubkey": "1ea5c2d0e935fb9fa76516688fbe2515d64704ee93ac3abf4198b15a125376e6",
"created_at": 1715356429,
"kind": 1,
"tags": [
[
"proxy",
"https://front-end.social/users/kizu/statuses/112417598993519971",
"activitypub"
]
],
"content": "I really don't like the JS API of the view transitions, with the necessity to _wrap_ all the actions in the `startTransition`, rather than having an ability to manually mark the “before” and “after” points. Like, why don't we have an `endTransition` or something similar?",
"sig": "f49fbcbbff7f3192fd64a895b1195069a94cfb4b896c718280ef8c0a18dc2953fb4bea20fbd3d7b511edde53919754b3c3d289c6eb6fd11301acc7d5d243ff0c"
}