8base CRUD is a wrapper under the react-apollo component to simplify working with the crud operations.
Extends Component
Component for fetching the table content
Extends Component
Component for creating the record of the table
Extends Component
Component for creating many records of the table
Results of the record update queries and mutation
Extends Component
Component for updating the record of the table
Extends Component
Component for deleting the record of the table
<RecordsList
applicationName={ applicationName }
tableName="someTableName"
variables={ options.variables }
>
{ ({ data, loading }) => (<div>{data}</div>) }
</RecordsList> <RecordUpdate
tableId="table-id"
recordId="42"
onCompleted={ () => {
...
} }
>
{ (onSubmit, { tableMetaResult, recordDataResult, fetchingLoading }) => (
<FormComponent initialValues={ recordDataResult.data } onSubmit={ onSubmit } />
) }
</RecordUpdate>