@sharyn/client
[![npm](https://img.shields.io/npm/v/@sharyn/client.svg)](https://www.npmjs.com/package/@sharyn/client)
Last updated 10 months ago by sharyn .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @sharyn/client 
SYNC missed versions from official npm registry.

???? @sharyn/client

npm

This package provides client-side helpers.

???? Install

yarn add @sharyn/client

???? Usage

getFormData

import { getFormData } from '@sharyn/client/form'

const handleSubmit = e => {
  console.log(getFormData(e.target))
}

const Form = () => (
  <form onSubmit={handleSubmit}>
    <input name="foo" />
    <input type="submit" />
  </form>
)

/*
onSubmit:
  { foo: [value] }
*/

Current Tags

  • 4.0.1                                ...           latest (10 months ago)

47 Versions

  • 4.0.1                                ...           10 months ago
  • 4.0.0                                ...           a year ago
  • 3.10.2                                ...           a year ago
  • 3.10.1                                ...           a year ago
  • 3.9.0                                ...           a year ago
  • 3.8.1                                ...           a year ago
  • 3.8.0                                ...           a year ago
  • 3.7.2                                ...           a year ago
  • 3.7.1                                ...           a year ago
  • 3.7.0                                ...           a year ago
  • 3.6.0                                ...           a year ago
  • 3.5.1                                ...           a year ago
  • 3.5.0                                ...           a year ago
  • 3.5.0-alpha.0                                ...           a year ago
  • 3.4.0                                ...           a year ago
  • 3.3.1                                ...           a year ago
  • 3.3.0                                ...           a year ago
  • 3.2.1                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 3.1.1                                ...           a year ago
  • 3.1.0                                ...           a year ago
  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.4.2                                ...           a year ago
  • 2.4.1                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 2.3.2                                ...           a year ago
  • 2.3.1                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 142
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |