Simple React hook for the fetch API.
$ npm install react-hook-fetcher
function App() {
const {
fetcher,
result,
isLoading,
} = useFetcher();
useEffect(() => {
fetcher('http://http://google.com.au/')
}, []);
return <div>{isLoading ? 'Loading...' : result}</div>;
}
We also make BEEKAI. Build the next-generation forms with modern technology and best in class user experience and accessibility.