Skip to content
No description or website provided.
TypeScript JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.gitignore
.prettierrc
.travis.yml
README.md
package-lock.json
package.json
rollup.config.js
tsconfig.json
tsconfig.test.json

README.md

with-hooks

NPM JavaScript Style Guide

Install

npm install --save thiskevinwang/with-hooks#v<x.x.x>

Usage

import MyComponent, { withState } from "with-hooks"

const Example = () => {
  return <MyComponent />
}

const ExampleWithState = withState("foo", "setFoo", "bar")(Example)

License

MIT © thiskevinwang

You can’t perform that action at this time.