coinbase / Rest Hooks
Licence: apache-2.0
Delightful data fetching for React.
Stars: ✭ 1,276
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Rest Hooks
Reddit Detective
Play detective on Reddit: Discover political disinformation campaigns, secret influencers and more
Stars: ✭ 129 (-89.89%)
Mutual labels: data, network
React Query
⚛️ Hooks for fetching, caching and updating asynchronous data in React
Stars: ✭ 24,427 (+1814.34%)
Mutual labels: hooks, data
Tinytcpserver
A small tcp server working under Mono or .NET (4.0) and provides hooks for handling data exchange with clients (works under mono and .net). Behaviour/protocol/reaction could be specified via custom C# script.
Stars: ✭ 14 (-98.9%)
Mutual labels: hooks, network
Gopup
数据接口:百度、谷歌、头条、微博指数,宏观数据,利率数据,货币汇率,千里马、独角兽公司,新闻联播文字稿,影视票房数据,高校名单,疫情数据…
Stars: ✭ 1,229 (-3.68%)
Mutual labels: data
Pwa Boilerplate
✨ PWA Boilerplate is highly scalable and is designed to help you kick-start your next project 🔭.
Stars: ✭ 82 (-93.57%)
Mutual labels: hooks
Tksheet
Python 3.6+ tkinter table widget for displaying tabular data
Stars: ✭ 86 (-93.26%)
Mutual labels: data
Hydrogen
🎈 Hydrogen. Voted (by me) the world's lightest static-site generator built with TypeScript ❤ It uses 🔥 lit-html inspired templating for super duper performant template generation.
Stars: ✭ 80 (-93.73%)
Mutual labels: data
React Selector Hooks
Collection of hook-based memoized selector factories for declarations outside of render.
Stars: ✭ 84 (-93.42%)
Mutual labels: hooks
Row Types
A Haskell library for open records and variants using closed type families and type literals
Stars: ✭ 82 (-93.57%)
Mutual labels: data
Zhihu Oauth
尝试解析出知乎官方未开放的 OAuth2 接口,并提供优雅的使用方式,作为 zhihu-py3 项目的替代者,目前还在实验阶段
Stars: ✭ 1,237 (-3.06%)
Mutual labels: data
Tensorflow Cifar 10
Cifar-10 CNN implementation using TensorFlow library with 20% error.
Stars: ✭ 85 (-93.34%)
Mutual labels: network
Deeplearning Mindmap
A mindmap summarising Deep Learning concepts.
Stars: ✭ 1,251 (-1.96%)
Mutual labels: data
Hook Flow
A flowchart that explains the new lifecycle of a Hooks component. https://dwe.st/hf
Stars: ✭ 1,246 (-2.35%)
Mutual labels: hooks
Network Idle Callback
Like requestIdleCallback, but for detecting network idle
Stars: ✭ 84 (-93.42%)
Mutual labels: network
Dynamic data at scale. Performance, consistency, typing for REST, proto, GraphQL, websockets and more.
Simple TypeScript definition
class ArticleResource extends Resource {
readonly id: string = '';
readonly title: string = '';
readonly body: string = '';
pk() { return this.id; }
static urlRoot = '/articles/';
}
One line data hookup
const article = useResource(ArticleResource.detail(), { id });
return (
<>
<h2>{article.title}</h2>
<p>{article.body}</p>
</>
);
Mutation
const update = useFetcher(ArticleResource.update());
return <ArticleForm onSubmit={data => update({ id }, data)} />;
And subscriptions
const price = useResource(PriceResource.detail(), { symbol });
useSubscription(PriceResource.detail(), { symbol });
return price.value;
...all typed ...fast ...and consistent
For the small price of 8kb gziped. 🏁Get started now
Features
- [x] Strong Typescript types
- [x] 🛌 React Suspense support
- [x] ⛓️ React Concurrent mode compatible
- [x] 🎣 Simple declarative API
- [x] 💰 Normalized response configurable caching
- [x] 💥 Tiny bundle footprint
- [x] 🛑 Automatic overfetching elimination
- [x] ✨ Optimistic updates
- [x] 🧘 Flexible to fit any API design (one size fits all)
- [x] 🔧 Debugging and inspection via browser extension
- [x] 🌳 Tree-shakable (only use what you need)
- [x] 🔁 Subscriptions
- [x] ♻️ Optional redux integration
- [x] 📙 Storybook mocking
- [x] 📱 React Native support
- [x] 🚯 Declarative cache lifetime policy
Special thanks
Thanks to @0xcaff, @melissafzhang and @alexiswolfish for their valuable feedback.
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].