... to do this we need to use two, not commonly used options of SWR, onSuccess and onFailure . ... import useSWR from "swr"; import User from "types/user"; ...
確定! 回上一頁