Skip to content

Conversation

@finnar-bin
Copy link
Contributor

Only perform the api call to fetch comment by resource item when the component is in view to prevent firing off multiple api requests once a content item is loaded
Resolves #3897

Screencast_20251119_115912.webm

@finnar-bin finnar-bin self-assigned this Nov 19, 2025
@finnar-bin finnar-bin added the bug Something isn't working label Nov 19, 2025
@shrunyan
Copy link
Contributor

I like the general idea. Would this be better implemented as a custom hook? this way we could apply the technique elsewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

N+1 API Call

4 participants