TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Next.js Page Transitions with Element Morphing

1 点作者 coolbloke1324超过 6 年前

2 条评论

coolbloke1324超过 6 年前
Just a quick post to show a new library I put together built on top of the work here: <a href="https:&#x2F;&#x2F;github.com&#x2F;illinois&#x2F;next-page-transitions" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;illinois&#x2F;next-page-transitions</a><p>This modifies the existing library and adds element morphing between pages. The elements only require the same id across pages, they do not need to be children of the same component.<p>It&#x27;s not perfect yet but thought I&#x27;d release what I&#x27;ve done so far.<p>The link is in a serverless container that ramps up and down based on usage so if the page takes ages to load its because the container hasn&#x27;t been hit in a while.
coolbloke1324超过 6 年前
Oh forgot to add the URL to the github repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;Irrelon&#x2F;nextjs-morph-page" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Irrelon&#x2F;nextjs-morph-page</a>