28 ms·
> I couldn't find the SWR hooks though. What do you have in mind? > Also, the interface isn't pretty atm. Agreed, creating pretty UIs is not my strongest sui
by exidex 2y ago
> I couldn't find the SWR hooks though.
What do you have in mind?
> Also, the interface isn't pretty atm.
Agreed, creating pretty UIs is not my strongest suit if I am completely honest, and could use a help with that. But I have been polishing it up steadily, though sometimes it is an uphill battle with iced-rs.
> The Video could probably show more practical examples than Game of Life
Also agreed. Game of Life demo was supposed to show the interactivity of a view and was easy to implement but at some point I would like to add something more usable as a builtin plugin. For the code example I think it would be better to have that in documentation which is the next on my TODO list
All in all, good points
- SebastianKra 2y agohttps://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.