The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Added ##What is infinite scroll
Ramiro Nuñez Dosio0cbd2a0c83d3
diff --git a/apps/www/_blog/2023-04-07-infinite-scroll-with-supabase.mdx b/apps/www/_blog/2023-04-07-infinite-scroll-with-nextjs-framer-motion.mdxsimilarity index 87%rename from apps/www/_blog/2023-04-07-infinite-scroll-with-supabase.mdxrename to apps/www/_blog/2023-04-07-infinite-scroll-with-nextjs-framer-motion.mdxindex bacdec792e9..c2656a97fb9 100644--- a/apps/www/_blog/2023-04-07-infinite-scroll-with-supabase.mdx+++ b/apps/www/_blog/2023-04-07-infinite-scroll-with-nextjs-framer-motion.mdx@@ -1,13 +1,13 @@----title: Infinite scroll with Next.js, Supabase and Framer Motion-description: Lazy load and paginate data on scroll with supabase-js and a sprinkle of Framer Motion magic ✨+title: Infinite scroll with Next.js, Framer Motion, and Supabase+description: Lazy load and paginate data on scroll with Next.js and a sprinkle of Framer Motion magic ✨author: fsansalvadoreimage: infinite-scroll-thumb.jpgthumb: infinite-scroll-thumb.jpgtags:- tutorial- launch-week- - Next.js+ - Next-jsdate: '2023-04-04'toc_depth: 6---@@ -20,6 +20,18 @@ With infinite scrolling, users can effortlessly scroll through content while onlIn this post, we'll detail our process of implementing infinite scrolling using Next.js, Framer Motion, and Supabase.+## What is infinite scroll?++Infinite scroll is a web design technique that automatically loads and displays new content as a user scrolls down a web page. This creates an endless scrolling experience that eliminates the need for pagination and provides a seamless and uninterrupted browsing experience.++Infinite scroll can enhance user experience and engagement by providing a fluid and intuitive browsing experience. It also allows for faster content delivery. By dynamically loading and displaying content as needed, infinite scroll can reduce the time and effort required to load pages and deliver content, improving overall performance and user satisfaction.++Next.js is a great choice for implementing infinite scroll in a web application. It provides server-side rendering and automatic code splitting, which can improve performance and optimize the loading of content as the user scrolls down the page. It also includes built-in support for dynamic imports and lazy loading, which can be useful for fetching and displaying content as needed.++Plus, incremental static regeneration (ISR) and pre-fetching of data can further improve performance by enabling the server to generate and cache pages in advance, and to pre-fetch data as the user scrolls down the page.++Now, onto the code!+## Step 0. Load the first batchFirst things first, let's install the dependencies we'll need.