1

useipa

A lightweight React hook for managing API calls and forms — loading, error and response state without the boilerplate.

useipa is a small React hook library for handling API calls and form submissions. It keeps request state — loading, error, and response data — in one place so components stay free of repetitive useState/useEffect plumbing.

What it does

  • Manages loading, error and data state for any async API call
  • Handles form submission flows, including validation errors returned by the API
  • Works with axios or fetch
  • Written in TypeScript, tested with Jest

Stack

TypeScript, React, Axios, Jest.