Closed
Description
Discussed in #1164
Originally posted by steverhoades October 31, 2021
I'm curious if it was a design choice to not have these available from the base package.
e.g. I must explicitly import this from @data-driven-forms/react-form-renderer/use-form-api
or @data-driven-forms/react-form-renderer/use-field-api
respectively vs. import {useFieldAPi} from @data-driven-forms/react-form-renderer
.
I only ask as I've spent the last hour or so debugging why my microapp wasn't playing nice with it's application shell. Turns out it was moving the dependencies from the microapp to the shell that broke as I didn't explicitly declare use-form-api
and use-field-api
as dependency externals.