@fonderie/react-native-webhooks
v0.1.0
Published
React Native hooks for Fonderie's outgoing webhooks — re-exports @fonderie/react-webhooks (no platform-specific code: no storage, no DOM/RN APIs).
Downloads
124
Maintainers
Readme
@fonderie/react-native-webhooks
React Native hooks for Fonderie's webhooks module — re-exports
@fonderie/react-webhooks
wholesale. Like billing and workspaces, the webhooks hooks own no storage of
their own, so there's no platform-specific code to fork — the same hooks
work in React Native as-is.
Install
npm install @fonderie/react-native-webhooksUse
import { FonderieClient } from '@fonderie/client';
import { useWebhookEndpoints } from '@fonderie/react-native-webhooks';
const client = new FonderieClient({ baseUrl: 'https://api.example.com/v1' });
function Webhooks() {
const { endpoints, isLoading } = useWebhookEndpoints(client.webhooks);
return (
<FlatList
data={endpoints}
keyExtractor={(e) => e.id}
renderItem={({ item }) => <Text>{item.url}</Text>}
/>
);
}Want a pre-built screen instead of wiring your own endpoint manager?
See @fonderie/react-native-webhooks-screens.
Why this exists
You've shipped this plumbing before — auth, teams, billing, messaging —
and the next project will ask for it again. Fonderie packages it once:
plain TypeScript modules for
@fonderie/core,
PostgreSQL-backed, self-hosted, MIT. No external control plane, no
per-seat anything. Register the modules you need; skip the ones you don't.
This package owns making @fonderie/react-webhooks's hooks installable
under the React Native naming convention, so an agent or developer looking
for "webhook hooks for my Expo app" finds them without having to know the
hooks happen to be framework-agnostic under the hood.
Browse the whole set at fonderie-js/sdk · follow @fonderiejs
License
MIT © Fonderie, Inc.
