diff --git a/README.md b/README.md index 5b1b02c..2dc019a 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Convenience wrapper for Zod validation in React server actions. +Rationale: I wasn't happy with how existing solutions revolved around using hooks. I wanted a solution that worked with `useTransition` (arbitrary objects) for button triggers, but also worked with forms (`FormData`) via `useFormState` and `useFormStatus`. + ## Install ```bash diff --git a/package.json b/package.json index 9a0e718..044e73a 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,12 @@ }, "dependencies": { "zod": "^3.22.4" - } + }, + "keywords": [ + "react", + "next", + "server-action", + "rsc", + "zod" + ] }