Loading video...

Video Failed to Load

Go Home

Infinite scroll in Next.js 13 with server actions

166,418 views • 2 years ago •via X (Twitter)

11 Comments

Steven Tey's profile picture
Steven Tey2 years ago

You're on a roll 🔥 loving these visualizations!

wilson 🇵🇹🇬🇧's profile picture
wilson 🇵🇹🇬🇧2 years ago

I'm not a React/Next.js developer, and I'm more fascinated by your animations. How do you animate these code transitions?

xeux's profile picture
xeux2 years ago

This is awesome 😎 Alex 🔥🔥 Do you share the code snippets?

Henry Black 🌴's profile picture
Henry Black 🌴2 years ago

Nice

Guilherme Felipe Reis's profile picture
Guilherme Felipe Reis2 years ago

Hey Alex, do you have any articles about i18n with server actions. I notice that next-intl does not support this yet, do you know any other possibility?

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

Hey. Not yet. But I've noticed this question is common on Next Discord. Will research this.

Fredkisss is on 🦋 blue sky 🦋's profile picture
Fredkisss is on 🦋 blue sky 🦋2 years ago

This is really cool, but there is one issue : when the user navigates alway they will loose all the already fetched data. You can fix this by using useInfiniteQuery from react-query to keep the data in the cache.

Shervin Chen's profile picture
Shervin Chen2 years ago

Code highlight theme is Monokai Pro?

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

Yes

name cannot be blank's profile picture
name cannot be blank2 years ago

nice. is this maybe the canonical solution? article or YT vid incoming?

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

Is there any particular reason you'd want the article or YT video? - More commentary and explanations? - Better Google discoverability? - Something else? Trying to find the right medium.

Related Videos