正在加载视频...

视频加载失败

Next 13 App Router Page Transitions! - Each page is streamed in - Keeps old page around using framer-motion - Browser back/forward works as expected

130,679 次观看 • 3 年前 •via X (Twitter)

10 条评论

Luca Matteis 的头像
Luca Matteis3 年前

cc @samselikoff

Joonas Sandell 的头像
Joonas Sandell3 年前

This is (almost) the same way I handled default page transitions (back/forward etc.) in my portfolio

Jorge Rios 的头像
Jorge Rios3 年前

How do you record this screen? That background looks nice

Jon 的头像
Jon3 年前

To learn more about this:

Krzysztof Ciach 的头像
Krzysztof Ciach3 年前

Great content. What is the reason for using LayoutRouterContext? ;)

Lorenzo Girardi 的头像
Lorenzo Girardi3 年前

Hero! How did you get the trick?

Norman Dilthey 的头像
Norman Dilthey3 年前

Nice! Wouldnt it be great if that worked with ssr too? ☺️ Maybe instruct ther server to return both, the current and the next page / previous page? Not sure if that would work

Szymon 的头像
Szymon3 年前

How does this frozen router works?

David Bismut 的头像
David Bismut3 年前

Back button shouldn’t trigger a transition imo or it there might be some glitches with iPhone and the swipe back gesture. Also do this handle scroll restoration?

Jonno Riekwel 🇳🇱 🇳🇿 – devlogs.gg is live 🎉 的头像
Jonno Riekwel 🇳🇱 🇳🇿 – devlogs.gg is live 🎉3 年前

This is so perfectly timed

相关视频

PDF parsing is still painful because LLMs reorder text in complex layouts, break tables across pages, and fail on graphs or images. 💡Testing the new open-source OCRFlux model, and here the results are really good for a change. So OCRFlux is a multimodal, LLM based toolkit for converting PDFs and images into clean, readable, plain Markdown text. Because the underlying VLM is only 3B param, it runs even on a 3090 GPU. The model is available on Hugging Face . The engine that powers the OCRFlux, teaches the model to rebuild every page and then stitch fragments across pages into one clean Markdown file. It bundles one vision language model with 3B parameters that was fine-tuned from Qwen 2.5-VL-3B-Instruct for both page parsing and cross-page merging. OCRFlux reads raw page images and, guided by task prompts, outputs Markdown for each page and merges split elements across pages. The evaluation shows Edit Distance Similarity (EDS) 0.967 and cross‑page table Tree Edit Distance 0.950, so the parser is both accurate and layout aware. How it works while parsing each page - Convert into text with a natural reading order, even in the presence of multi-column layouts, figures, and insets - Support for complicated tables and equations - Automatically removes headers and footers Cross-page table/paragraph merging - Cross-page table merging - Cross-page paragraph merging A compact vision‑language models can beat bigger models once cross‑page context is added. 🧵 1/n Read on 👇

Rohan Paul

149,292 次观看 • 1 年前