unplugin-formkit icon indicating copy to clipboard operation
unplugin-formkit copied to clipboard

Use `useConfig` instead of the <FormKitProvider>

Open justin-schroeder opened this issue 5 months ago • 0 comments

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.

justin-schroeder avatar Mar 15 '24 20:03 justin-schroeder