Skip to content

Commit

Permalink
docs [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekz committed Feb 23, 2024
1 parent 0a75439 commit 04495ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,12 @@
},
"dependencies": {
"zod": "^3.22.4"
}
},
"keywords": [
"react",
"next",
"server-action",
"rsc",
"zod"
]
}

0 comments on commit 04495ee

Please sign in to comment.