request-hook
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.1 • Public • Published

use-request-hook

Cancellable Requests and Loading and Error states made easy by React Hooks

NPM JavaScript Style Guide

Install

npm install --save use-request-hook

Usage

import * as React from 'react'

import MyComponent from 'use-request-hook'

class Example extends React.Component {
  render () {
    return (
      <MyComponent />
    )
  }
}

License

MIT © schettino

Readme

Keywords

none

Package Sidebar

Install

npm i request-hook

Weekly Downloads

0

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

57 kB

Total Files

16

Last publish

Collaborators

  • schettino