@slergberg/react-hook-use-http-request

A very simple axios-based HTTP request hook for React.

Usage no npm install needed!

<script type="module">
  import slergbergReactHookUseHttpRequest from 'https://cdn.skypack.dev/@slergberg/react-hook-use-http-request';
</script>

README

React Hook useHttpRequest

A very simple axios-based HTTP request hook for React.

build coverage dependabot license code style: prettier Contributor Covenant

Installation

npm install --save @slergberg/react-hook-use-http-request

This assumes that you’re using npm package manager with a module bundler like Webpack or Browserify to consume CommonJS modules.

Contributing

Feel free to contribute with this library. For more information, take a look at our contributing guide.

License

MIT