{"repo":"desko27/react-call","free":true,"listed":false,"github":"https://github.com/desko27/react-call","clone":"git clone https://github.com/desko27/react-call.git","description":"Call & Await React Components","language":"TypeScript","stars":1363,"topics":["react","dialog","pattern","typescript"],"license":null,"category":"mobile-apps","readme_excerpt":"Call your React components like async functions — they resolve with a value. ✓ &lt; 1 KB ✓ No deps ✓ SSR ✓ React Native 📖 Site with live demos&nbsp;↗ &nbsp;·&nbsp; Examples gallery &nbsp;·&nbsp; 🤖 AI agent skill &nbsp;·&nbsp; Getting started createCallable() turns a React component into something you can await . Good fits: confirmations, dialogs, form modals, toasts, notifications, context menus, pickers — any UI that conceptually returns a value to its caller. Contents - Getting started - 1. ⚛️ Declare - 2. 📡 Root - 3. ▶️ Call \\& Await - Advanced usage - End from caller - Update - Upsert - Exit animations - Passing Root props - Mutation flow - Optional mutationFn - Payload - Hot reload (HMR) - Vite plugin (optional) - Multi-preview hosts (Storybook, Ladle, …) - With static providers - With reactive providers - Options - FAQ - What if more than one call is active? - Can I place more than one Root? - TypeScript types - Errors - Lazy loading - SSR - Next.js / RSC - AI agent skill - Migrating from v1 Getting started [!NOTE] These docs cover v2 , the current stable release. Upgrading from 1.x? See Migrating from v1 — or the v1 README for the old API. We'll setup a confirmation dialog, but you can setup any component to be callable. 1. ⚛️ Declare Along with your props, there is a special call prop containing the end() method, which you can use to finish the call and return a response. State, hooks and any other React features are totally fine too. 2. 📡 Root The Callable itself","default_branch":null,"files":null,"tree":[],"storefront":"/r/desko27","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/desko27/react-call/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}