Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remix-hook-form

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-hook-form - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

package.json
{
"name": "remix-hook-form",
"version": "4.0.0",
"version": "4.0.1",
"description": "Utility wrapper around react-hook-form for use with Remix.run",

@@ -5,0 +5,0 @@ "type": "module",

@@ -15,16 +15,13 @@ # remix-hook-form

## Installation
You can install the latest version of remix-hook-form using [npm](https://www.npmjs.com/):
## Install
`npm install remix-hook-form`
npm install remix-hook-form react-hook-form
Or, if you prefer [yarn](https://yarnpkg.com/):
## Basic usage
`yarn add remix-hook-form`
Here is an example usage of remix-hook-form. It will work with **and without** JS. Before running the example, ensure to install additional dependencies:
## Basic usage
npm install zod @hookform/resolvers
Here is an example usage of remix-hook-form. It will work with **and without** JS.
```ts

@@ -38,4 +35,4 @@ import { useRemixForm, getValidatedFormData } from "remix-hook-form";

const schema = zod.object({
name: zod.string().nonempty(),
email: zod.string().email().nonempty(),
name: zod.string().min(1),
email: zod.string().email().min(1),
});

@@ -117,2 +114,11 @@

## Video example and tutorial
If you wish to learn in depth on how form handling works in Remix and want an example using this package I have prepared a video tutorial on how to do it. It's a bit long but it covers everything
you need to know about form handling in Remix. It also covers how to use this package. You can find it here:
https://youtu.be/iom5nnj29sY?si=l52WRE2bqpkS2QUh
## API's

@@ -119,0 +125,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc