Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Luca Matteis profil fotoğrafı
Luca Matteis3 yıl önce

cc @samselikoff

Joonas Sandell profil fotoğrafı
Joonas Sandell3 yıl önce

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

Jorge Rios profil fotoğrafı
Jorge Rios3 yıl önce

How do you record this screen? That background looks nice

Jon profil fotoğrafı
Jon3 yıl önce

To learn more about this:

Krzysztof Ciach profil fotoğrafı
Krzysztof Ciach3 yıl önce

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

Lorenzo Girardi profil fotoğrafı
Lorenzo Girardi3 yıl önce

Hero! How did you get the trick?

Norman Dilthey profil fotoğrafı
Norman Dilthey3 yıl önce

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 profil fotoğrafı
Szymon3 yıl önce

How does this frozen router works?

David Bismut profil fotoğrafı
David Bismut3 yıl önce

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 🎉 profil fotoğrafı
Jonno Riekwel 🇳🇱 🇳🇿 – devlogs.gg is live 🎉3 yıl önce

This is so perfectly timed

Benzer Videolar

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 görüntüleme • 1 yıl önce