#Load data once component in view
1 messages · Page 1 of 1 (latest)
Streaming the data for the component (https://remix.run/docs/en/main/guides/streaming), either using defer (https://remix.run/docs/en/main/utils/defer) or with Single Fetch (https://remix.run/docs/en/main/guides/single-fetch) enabled returning a promise from your loader
from what I understand, the above options do return the data in different ways and different strategies
Can I only load the data once user scrolls down the page and the component that uses the data becomes in view?
yes, use the useFetcher to fetch it client-side then