Skip to content

simple React example using fetch to consume a restful API.

License

Notifications You must be signed in to change notification settings

DavidBuck/react-rest-example

Repository files navigation

React Rest Example

This is a simple React example showing how to consume a restful API.

Run npm run start to start the JSON server and the React client.

Tools

Versions

  • Version 3.1 - Example using hooks and async/await. React version 17.0.1
  • Version 3.0 - Example using hooks and async/await. React version 16.13.1
  • Version 2.0 - Example using a class component and async/await. React version 16.13.1
  • Version 1.0 - Example using a class component and promises. React version 16.13.1.

About

simple React example using fetch to consume a restful API.

Topics

Resources

License

Stars

Watchers

Forks