React package overview
The React package is @barq/react.
It provides providers and hooks that keep React screens in sync with Barq data.
bun add @barq/barq @barq/reactCommon Exports
Section titled “Common Exports”BarqProvideruseBarquseQueryuseObject
Basic Shape
Section titled “Basic Shape”Wrap a screen tree with BarqProvider, then use hooks inside the tree.
import { BarqProvider } from '@barq/react';
export function App() { return ( <BarqProvider schema={[Task]}> <TaskScreen /> </BarqProvider> );}