All Projects → ooade → use-fetch-hook

ooade / use-fetch-hook

Licence: other
A custom hook to fetch and cache data

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to use-fetch-hook

mobx-nextjs-root-store
Mobx root store implementation for next.js with server-side rendering
Stars: ✭ 42 (-55.79%)
Mutual labels:  react-hooks
resynced
An experimental hook that lets you have multiple components using multiple synced states using no context provider
Stars: ✭ 19 (-80%)
Mutual labels:  react-hooks
use-app-state
🌏 useAppState() hook. that global version of setState() built on Context.
Stars: ✭ 65 (-31.58%)
Mutual labels:  react-hooks
flhooks
React like Hooks implementation for Flutter.
Stars: ✭ 38 (-60%)
Mutual labels:  react-hooks
react-use-storage
React Hook to handle local and session storage
Stars: ✭ 18 (-81.05%)
Mutual labels:  react-hooks
react-antd-admin
基于vite2.x + react17.x + typescript4.x + antd4.x + react-router6.x + mobx6.x编写的一款简单高效的前后端分离的权限管理系统
Stars: ✭ 140 (+47.37%)
Mutual labels:  react-hooks
use-state-machine
Use Finite State Machines with React Hooks
Stars: ✭ 28 (-70.53%)
Mutual labels:  react-hooks
use-query-string
🆙 A React hook that serializes state into the URL query string
Stars: ✭ 50 (-47.37%)
Mutual labels:  react-hooks
Reason-react-hooks
🧶 Some hooks in ReasonML for reason-react that can be useful
Stars: ✭ 14 (-85.26%)
Mutual labels:  react-hooks
MovieCards
React App that uses TMDb API to display movie data. Try it out! ->
Stars: ✭ 38 (-60%)
Mutual labels:  react-hooks
react-cool-form
😎 📋 React hooks for forms state and validation, less code more performant.
Stars: ✭ 246 (+158.95%)
Mutual labels:  react-hooks
style-hook
use css in js with react hook.
Stars: ✭ 16 (-83.16%)
Mutual labels:  react-hooks
sharyn
🌹 Sharyn – A collection of JavaScript / TypeScript packages that make your life easier and reduce your boilerplate code
Stars: ✭ 30 (-68.42%)
Mutual labels:  react-hooks
react-with-threejs-example
An example project integrating React with three.js
Stars: ✭ 27 (-71.58%)
Mutual labels:  react-hooks
aimscroll
🍹 Painless utility libary to handle scroll positions and methods in react
Stars: ✭ 12 (-87.37%)
Mutual labels:  react-hooks
react-guidebook
📚 React 知识图谱 关于概念、技巧、生态、前沿、源码核心
Stars: ✭ 22 (-76.84%)
Mutual labels:  react-hooks
google-place-autocomplete
🏆 Best practice with Google Place Autocomplete API on React
Stars: ✭ 68 (-28.42%)
Mutual labels:  react-hooks
pojo-observer
A minimalist object observer with React hooks support. Allows you to separate concerns between presentation and interaction logic
Stars: ✭ 91 (-4.21%)
Mutual labels:  react-hooks
concave
🧐 Lens-like state management (for React).
Stars: ✭ 13 (-86.32%)
Mutual labels:  react-hooks
react-2048
A React implementation of 2048 game built with typescript and styled-components
Stars: ✭ 66 (-30.53%)
Mutual labels:  react-hooks

Use Fetch Hook

TLDR; This repo shows how to build a custom hook to fetch and cache data!

Here's a deployed version of this example on Netlify!

I wrote a piece about it on Smashing Magazine.

Contents

Installation

Clone repo:

SSH:

git clone [email protected]:ooade/use-fetch-hook.git
cd use-fetch-hook

or

HTTPS:

git clone https://github.com/ooade/use-fetch-hook.git
cd use-fetch-hook

Run locally

Start a live-reload development server:

yarn start

If you have any question, feel free to reach out to me!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].