#how to implement Infinite scroll in mdx page.

2 messages · Page 1 of 1 (latest)

neon tapir
#

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.

rigid belfryBOT
#
Still waiting for an answer?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.