0.2.4 • Published 4 years ago

@alexjamesmalcolm/use-resource v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

npm GitHub Workflow Status (branch) Coveralls github npm bundle size MIT License

useResource

This is a React custom hook meant for assisting in the retrieval of remote data and the caching of it once acquired using redux.

Documentation

Read the documentation, if there's a concept you'd like further explained or a feature you would like requested you can open an issue.

TODO

  • Allow for custom reducer names
  • Internalize state management so reducer does not need to be exported
  • Allow passing a function instead of a number to ttl in case it needs to be determined programmatically.
  • Mask my personal email address with GitHub's privacy email address
  • Implement dependency array to replace resourceId
  • Somehow get a unique identifier from supplied getResource function to replace resourceId
0.2.4

4 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.24

5 years ago

0.1.25

5 years ago

0.1.21

5 years ago

0.1.22

5 years ago

0.1.23

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.14

5 years ago

0.1.15

5 years ago

0.1.16

5 years ago

0.1.10

5 years ago

0.1.11

5 years ago

0.1.12

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.5

5 years ago

0.1.0

5 years ago