View Code? Open in Web Editor
NEW
useRequest hook & set of components for requesting API data within React applications
Home Page: https://react-sadness.vercel.app
License: BSD 3-Clause "New" or "Revised" License
Makefile 1.19%
JavaScript 98.81%
react-sadness's Issues
1.0.0b0
version ensured that react-sadness
properly cache response data, when cache responses is enabled and cache element exists.
Now need to ensure that data actually loaded from given cache on page load instead of making request to API.
Or at least provide type definitions for TypeScript environments.
It is great to have a storybook with examples on how to use react-sadness
, but there is a need to provide an API documentation as well.
API documentation should highlight:
useRequest
SadnessProvider
SadnessConfig
Response
Loading
& other components to render response
- records