useCallback inside usePayload in payload v3 #7057
chelaru-artur
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm currently migrating to v3 and observed that usePayloadApi is missing useCallback when making fetch requests, which was implemented in v2 in this PR. This feature was very convenient because it ensured that the API call would be made only once without requiring additional code.
Could this feature be migrated to v3?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions