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

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

На главную

We took the Inertia.js infinite scroll component for 2.0 and turbo boosted it: - ⬆️ Reverse infinite scroll - 👬 Multiple infinite scroll components on the same page - 🔃 *Two way* infinite scroll - 🔗 Syncing page state in URL - 🖱️ Manual mode after X requests 🚀👨‍🚀

53,127 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля Joe Tannenbaum
Joe Tannenbaum1 год назад

Oh! I want to shout out @pedroborg_es for giving me some great tips on this! He had previously done a lot of research on infinite scrolling and it was super helpful to hear his takeaways. Thank you, sir!

Фото профиля Daniel Weaver
Daniel Weaver1 год назад

@inertiajs Does this also support virtual scrolling after a certain number of entries? Like if you are infinitely scrolling for a bit your browser will start to slow down due to the number of elements. Maybe it can unload the ones off screen?

Фото профиля Sébastien Dubois
Sébastien Dubois1 год назад

@inertiajs Where do I sign?

Фото профиля Alex Maven
Alex Maven1 год назад

@inertiajs

Фото профиля Irsyad A. Panjaitan
Irsyad A. Panjaitan1 год назад

@inertiajs Is it working with react and ts. Because last time it doesn't.

Фото профиля Len Woodward
Len Woodward1 год назад

@inertiajs Joe. Wtf. This is incredible

Фото профиля Chris Sev
Chris Sev1 год назад

@inertiajs It’s really really rad

Фото профиля Ryan Chandler
Ryan Chandler1 год назад

@inertiajs 🧠

Фото профиля why i oughta...
why i oughta...1 год назад

@inertiajs This is a great demo. Good job!

Фото профиля Dan Matthews
Dan Matthews1 год назад

@inertiajs "It's pretty rad". My guy, that's may be the understatement of the century right there.

Похожие видео

CSS Trick! ⚡️ You can use scroll-driven animation with background-attachment to create a dynamic glowing card scroller without JS 🔥 section { animation:vibe; animation-timeline:--list; } @​keyframes vibe { to{--hue:320;}} .glow {background: hsl(var(--hue) 80% 50%);} Here's how! 🤙 You can use the background-attachment trick used in other glow card demos 😎 article { background-attachment: fixed; } The difference here is that you aren't going to update the fixed background position with your pointer this time. It can remain fixed. The magic part is that as you scroll, the background will leave the card that's leaving and enter the card that's entering ✨ For the extra background glow, you can use a fixed pseudo element on the list container itself 💪 Once that's in place, you're only task is to change the color of the background as you scroll 🤔 Create a custom property declaration for the --hue @​property --base { inherits: true; syntax: ' '; initial-value: 0; } Then create an animation that updates this value @​keyframes accent { to { --hue: 320; }} The last piece is hooking it up to scroll and there is a little trick in here 👀 First, you need an inline scroll-timeline on the list ul { scroll-timeline: --list inline; } Then you can use timeline-scope to hoist that scroll-timeline up so a parent can use it. You then animate the custom property on this element and let the value cascade down to the places that need it 🔥 section { timeline-scope: --list; animation: accent both linear; animation-timeline: --list; } For example, the glow uses the --hue this way [data-glow] { background-image: radial-gradient( 150px 150px at 50% 50%, hsl(var(--hue) 100% 70% / 0.25), transparent ); } Lastly, scroll-snap is optional of course but plays nice with the scroll-driven animation demos ✨ The key for that is ul { scroll-snap-type: x mandatory; } li { scroll-snap-align: center; } That's it! Pretty fun trick to play with! 🤓 Any questions, let me know! Should we add it to the video walkthrough list? CodePen.IO link below! 👇

jhey ʕ•ᴥ•ʔ

116,462 просмотров • 2 лет назад

Fable 5 and GPT-5.6 built the same scroll-animated website from 1 skill in 32 minutes and only 1 of them made it feel like a film. Same prompt: boutique Japan travel brand, origami style. A subway pulls in, a paper house unfolds into a hotel, a bird takes flight as you scroll. Doing this by hand is brutal multiple videos, matched starting frames, frames ripped out 1 by 1 and synced to scroll position. The skill does all of it: Generate 1 anchor image and approve it every scene inherits the style Turn it into video through the Higgs Field MCP (Seedance), straight from the terminal FFmpeg pulls every frame Each frame maps to scroll position, so your scrollbar becomes the playhead Setup is just connecting the MCP and loading the skill works in Claude Code and Codex. It interviews you first about scenes, budget and mobile, then shows the anchor image before burning a single credit on video. Budget reality: 6 scenes runs ~800 credits and is overkill, 4 scenes is the sweet spot, crop-safe mobile is the cheap path. The verdict came down to transitions. GPT-5.6 Soul built strong scenes with incredible detail inside each one then hard cuts between scene 1 and 2, and again between 2 and 3. Fable 5 stitched them together: wires push out of the top of frame while the next scene blurs in behind, gains depth and locks into place. Same skill, same prompts, 10 generations each. Credit to Peter Wang for the original Scroll World skill open source, now forked with budget tiers and mobile fixes. Soul built 4 scenes. Fable built 1 film.

Spike 1%

41,962 просмотров • 12 дней назад