How I'm using CSS View Transitions on this blog

🫧 Open on Bubbles In the old days of the web, animating between pages meant faking it with jQuery. Then came pjax , which used pushState to swap in fetched content and fake a full navigation without one, still relying on popState to stop the back button breaking. Every single-page app since has done some version of the same trick, intercept the link click, fetch the new content, swap it in, animate the swap yourself. It works, but it means every navigation runs through a JS router, even on a static blog tha

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论