Skip to content

New useBaseConfig API

Latest
Compare
Choose a tag to compare
@wai-lin wai-lin released this 01 Feb 03:08
· 18 commits to main since this release

New useBaseConfig [default: true] API to opt-out from the ConfigProvider.

Form Component

<Form
  useBaseConfig={false}
  method="post"
  action="http:https://localhost:4000/api/users"
>
...
</Form>

Hook Form

const myForm = useForm({
  useBaseConfig: false,
  method: 'post'
  action: 'http:https://localhost:4000/api/users'
})