Build schema forms and record tables
Build schema forms and record tables
Section titled “Build schema forms and record tables”Prerequisites
Section titled “Prerequisites”Install the package; feature subpaths are import targets.
bun add @alneas/appkit-reactUse React and React DOM 19 matching the package peer ranges.
Public import
Section titled “Public import”@alneas/appkit-react/tools
Step-by-Step Implementation
Section titled “Step-by-Step Implementation”import {FormView, DataTable} from '@alneas/appkit-react/tools';import '@alneas/appkit-react/styles';export const components = {FormView, DataTable};Verification
Section titled “Verification”Type-check this example in your application. See the export reference for narrower entry points and exact optional peers. Package import/type checks do not certify hosted providers.
Troubleshooting / Common Pitfalls
Section titled “Troubleshooting / Common Pitfalls”Schema-driven forms, tables, filters and CRUD views. FormView requires collection, schema and mode, plus QueryClientProvider and DataAccessProvider, including when using onSave. Use the complete request-form recipe.
See save a schema-driven request form for the complete providers and persistence boundary.