I have an MDX page with eight queries that, when executed, display data. In my Slug.astro page, we fetch data using the "getEntry" method, rendering the result and calling that constant to display the complete data of the MDX page. Due to the multiple queries in the MDX page, we're experiencing a page loading issue, and it takes time to load. How can we implement lazy loading on the MDX page so that the corresponding queries are only called when the page is scrolled down? We're using SSR mode for our project.
#how to implement Infinite scroll in mdx page.
2 messages · Page 1 of 1 (latest)