diff --git a/README.md b/README.md index f7d63fc..8757bff 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ Nuxt Precognition is a "precognition" utility for sharing server-side validation * [Quick Setup](#quick-setup) * [Examples](#examples) * [Usage - Client-Side](#usage---client-side) - * [useForm](#the-useform-vue-composable) * [usePrecognitionForm](#the-useprecognitionform-vue-composable) + * [useForm](#the-useform-vue-composable) * [Usage - Server-Side](#usage---server-side) * [handlePrecognitionRequest](#the-handleprecognitionrequest-server-utility--middleware) * [getValidatedInput](#the-getvalidatedinput-utlity-function) @@ -54,23 +54,23 @@ The `usePrecogitionForm` composable is the core feature for setting up the preco The `useProecognitionForm` composable is automatically imported into your Nuxt app when you install the module, and can be used without needing to manually import it. -This composable is used to create your form object and with handle form submission and validation. It is stateful, and will provide you with the form states and errors for you to nicely display validation and submission state in your components. +This composable is used to create your form object and will manage form submission and validation. It is stateful, and will provide you with the form states and errors for you to nicely display validation and submission state in your components. Here is an example of using the `usePrecognitionForm` composable to create a form object, validate the data on change, and handle form submission and responses: ```vue