react-native-basement

0.0.1-alpha.1 • Public • Published

📦 react-native-basement

code style: prettier

React Native Basement defines a way to easily cache remote dependencies, whether they're images, JSON or raw file content. Using the useBasement hook, extensible declarative resource caching is a breeze. 🌊

Caching a support is a little patchy in React Native. There's iOS-only support for the Image component, or dedicated libraries for specific types.

If you're only interested in caching images, I'd suggest taking a look at react-native-cached-image. If you're interested in caching anything else, such as SVGs, Videos or Lottie Animations, then this project is your friend!

🚀 installing

yarn add react-native-basement # or npm -i -s react-native-basement 

That's about it! Please check out the Getting Started guide for integration details. There's also an included Example App.

✌️ licence

MIT

Package Sidebar

Install

npm i react-native-basement

Weekly Downloads

2

Version

0.0.1-alpha.1

License

MIT

Unpacked Size

17.6 kB

Total Files

22

Last publish

Collaborators

  • cawfree