Загрузка видео...

Не удалось загрузить видео

На главную

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 год назад