3 ms·
https://developers.raycast.com/utilities/react-hooks/useexec https://developers.raycast.com/utilities/react-hooks/useexec useExec, useFetch and useSql these ho
by SebastianKra 2y ago
https://developers.raycast.com/utilities/react-hooks/useexec https://developers.raycast.com/utilities/react-hooks/useexec
useExec, useFetch and useSql these hooks follow the stale-while-revalidate principle, which handles fetching, refetching and caching. In combination with Raycasts loading indicators, this allows developers to work directly with the remote data without having to worry about loading/error states.