Created
March 6, 2021 00:28
-
-
Save ChangJoo-Park/c88c91fa771dd6fa14f77b17a0362f03 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
const { fetch } = useFetch(async () => { | |
const { data } = await usePrefetchStore("dashboard", "/api/dashboard"); | |
// data를 필요한 변수에 바인딩 | |
}) | |
fetch() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment