Skip to main content
This guide builds on the JavaScript client. Copy src/lib/bludia.js first.

Auth context

src/auth.jsx

Protected route

src/RequireAuth.jsx

Login form

src/Login.jsx

Data hook

src/useRecords.js
src/Orders.jsx
With a data library like TanStack Query, call records.list(...) inside queryFn and use the record collection and params as the query key.