Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 3 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Luca Matteis
Luca Matteisvor 3 Jahren

cc @samselikoff

Profilbild von Joonas Sandell
Joonas Sandellvor 3 Jahren

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

Profilbild von Jorge Rios
Jorge Riosvor 3 Jahren

How do you record this screen? That background looks nice

Profilbild von Jon
Jonvor 3 Jahren

To learn more about this:

Profilbild von Krzysztof Ciach
Krzysztof Ciachvor 3 Jahren

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

Profilbild von Lorenzo Girardi
Lorenzo Girardivor 3 Jahren

Hero! How did you get the trick?

Profilbild von Norman Dilthey
Norman Diltheyvor 3 Jahren

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

Profilbild von Szymon
Szymonvor 3 Jahren

How does this frozen router works?

Profilbild von David Bismut
David Bismutvor 3 Jahren

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?

Profilbild von Jonno Riekwel 🇳🇱 🇳🇿 – devlogs.gg is live 🎉
Jonno Riekwel 🇳🇱 🇳🇿 – devlogs.gg is live 🎉vor 3 Jahren

This is so perfectly timed

Ähnliche Videos

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 Aufrufe • vor 1 Jahr