npm.io
0.13.0 • Published 6 years ago

@react-isomorphic-data/testing

Licence
MIT
Version
0.13.0
Deps
0
Size
31 kB
Vulns
0
Weekly
0
Stars
38

@react-isomorphic-data/testing minified-gzipped-size bundlewatch - bundlewatched

Easily fetch data in your React components, with similar APIs to react-apollo

You can use hooks or HOC, both are supported.

NOTE: This project is still very much work in progress, use at your own risk

Features

  • React hooks
  • SSR support
  • Simple built-in cache
  • TypeScript support
  • Testing utilities
  • React Suspense integration for implementing render-as-you-fetch pattern (experimental)

Installing

yarn add -D @react-isomorphic-data/testing
Usage

A more detailed guide can be found at https://react-isomorphic-data.netlify.com/docs/testing/writing-tests