react-hook-functions
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

react-hook-functions

just gets rid of squiggly brackets

import { useState } from 'react-hooks-functions'

useState(
  false,
  (
    select,
    setSelect,
  ) =>
    <>
      ...do whatever
    </>
)

Readme

Keywords

Package Sidebar

Install

npm i react-hook-functions

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

167 kB

Total Files

16

Last publish

Collaborators

  • gilesbradshaw