Skip to content

Use useConfig instead of the <FormKitProvider> #7

@justin-schroeder

Description

@justin-schroeder

Currently we are injecting a higher order component <FormKitProvider> into the SFC file, but this is really unnecessary since we no longer inject a lazy provider to check for suspense. We could isntead just use the useConfig composable. This would also mean we dont need to mess with the SFC template at all, which is causing bugs like formkit/formkit#1266.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions