Skip to main content

UpdatableResponse Usage

The updatableResponse is the current state of the response while the form is filled.

Try filling in the form to see the updatableResponse change.

Live Editor
function App() {
  const updatableResponse = useQuestionnaireResponseStore.use.updatableResponse();

  return (
    <>
      <YourBaseRendererWrapper questionnaire={qCalculatedExpressionBMICalculator} />
      <JsonViewer hookName="updatableResponse" data={updatableResponse} />
    </>
  );
}
Result
Loading...