@react-isomorphic-data/testing
TypeScript icon, indicating that this package has built-in type declarations

0.13.0Β β€’Β PublicΒ β€’Β Published

@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

Package Sidebar

Install

npm i @react-isomorphic-data/testing

Weekly Downloads

150

Version

0.13.0

License

MIT

Unpacked Size

31.3 kB

Total Files

11

Last publish

Collaborators

  • jackyef