Skip to main content

React Query Example

This example shows you how to use the React Query library to manage state in your application.

This example does not include any backend persistence via IndexedDB. as this is out of scope for this example. Instead, this example provides two simplified endpoints to call:

  • [GET] /species returns a list of 4 species

Learn more about RADFish examples at the official documentation. Refer to the RADFish GitHub repo for more information and code samples.

Preview

This example will render as shown in this screenshot:

React Query