Created
July 30, 2024 21:43
-
-
Save wealthfront-data-fetching-blog-post/3ed93d7cdd5f2cda2c71b62c131495ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FetchApiQuery | |
endpointName="getUser" | |
params={[userId]} | |
loadingState={<Spinner />} | |
> | |
{({ data }) => { | |
// data is populated in this function! | |
}} | |
</FetchApiQuery> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment