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
    </>
)

Dependencies (0)

    Dev Dependencies (11)

    Package Sidebar

    Install

    npm i react-hook-functions

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    167 kB

    Total Files

    16

    Last publish

    Collaborators

    • gilesbradshaw