unplugin-formkit
unplugin-formkit copied to clipboard
Use `useConfig` instead of the <FormKitProvider>
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.