Skip to content

spikything/react-axios-ts

Repository files navigation

react-axios-ts

A simple demonstration of using Axios for loading data with 3 flavours of React component:

  • Class Components (legacy version)
  • Functional Components (Hooks)
  • Functional Components in Typescript

Setup

Fork/clone the repo, then install its dependencies with:

npm i

Running

npm run dev

Building

npm run build