react-hook-form
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -74,2 +74,4 @@ import { useRef, useState, useEffect } from 'react'; | ||
} | ||
if (value === '') | ||
return copy; | ||
// min and max section | ||
@@ -76,0 +78,0 @@ if (min || max) { |
@@ -76,2 +76,4 @@ 'use strict'; | ||
} | ||
if (value === '') | ||
return copy; | ||
// min and max section | ||
@@ -78,0 +80,0 @@ if (min || max) { |
{ | ||
"name": "react-hook-form", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.es.js", |
@@ -1,6 +0,6 @@ | ||
<div align="center"><a href="https://react-forme.now.sh/"><img src="https://raw.githubusercontent.com/bluebill1049/react-forme/master/website/logo.png" alt="React forme Logo - React hook form valiation" width="500px" /></a></div> | ||
<div align="center"><a href="https://react-hook-form.now.sh/"><img src="https://raw.githubusercontent.com/bluebill1049/react-forme/master/website/logo.png" alt="React forme Logo - React hook form valiation" width="350px" /></a></div> | ||
> React hook form management without the hassle | ||
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=React+Forme&url=https://github.com/bluebill1049/react-forme) [![CircleCI](https://circleci.com/gh/bluebill1049/react-forme.svg?style=svg)](https://circleci.com/gh/bluebill1049/react-forme) [![Coverage Status](https://coveralls.io/repos/github/bluebill1049/react-forme/badge.svg?branch=master)](https://coveralls.io/github/bluebill1049/react-forme?branch=master) [![npm downloads](https://img.shields.io/npm/dm/react-forme.svg?style=flat-square)](https://www.npmjs.com/package/react-forme) | ||
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=React+Hook-Form&url=https://github.com/bluebill1049/react-hook-form) [![CircleCI](https://circleci.com/gh/bluebill1049/react-forme.svg?style=svg)](https://circleci.com/gh/bluebill1049/react-forme) [![Coverage Status](https://coveralls.io/repos/github/bluebill1049/react-forme/badge.svg?branch=master)](https://coveralls.io/github/bluebill1049/react-forme?branch=master) [![npm downloads](https://img.shields.io/npm/dm/react-forme.svg?style=flat-square)](https://www.npmjs.com/package/react-forme) | ||
[![npm](https://img.shields.io/npm/dt/react-forme.svg?style=flat-square)](https://www.npmjs.com/package/react-forme) | ||
@@ -13,3 +13,3 @@ [![npm](https://img.shields.io/npm/l/react-forme.svg?style=flat-square)](https://www.npmjs.com/package/react-lazyload-image) | ||
- Tiny size without other dependency 2 kB (minified + gzipped) | ||
- Build a quick form with [form builder](https://react-forme.now.sh/builder) | ||
- Build a quick form with [form builder](https://react-hook-form.now.sh/builder) | ||
@@ -20,8 +20,8 @@ ## Install | ||
## [Website](https://react-forme.now.sh/api) | ||
## [Website](https://react-hook-form.now.sh/api) | ||
- [Get started](https://react-forme.now.sh/api) | ||
- [API](https://react-forme.now.sh/api) | ||
- [Demo](https://react-forme.now.sh) | ||
- [Form Builder](https://react-forme.now.sh/builder) | ||
- [Get started](https://react-hook-form.now.sh/api) | ||
- [API](https://react-hook-form.now.sh/api) | ||
- [Demo](https://react-hook-form.now.sh) | ||
- [Form Builder](https://react-hook-form.now.sh/builder) | ||
@@ -32,3 +32,3 @@ ## Quickstart | ||
import React from 'react'; | ||
import useForm from 'react-forme'; | ||
import useForm from 'react-hook-form'; | ||
@@ -35,0 +35,0 @@ function App() { |
32260
728