react-hook-functions
just gets rid of squiggly brackets
import { useState } from 'react-hooks-functions'
useState(
false,
(
select,
setSelect,
) =>
<>
...do whatever
</>
)
just gets rid of squiggly brackets
import { useState } from 'react-hooks-functions'
useState(
false,
(
select,
setSelect,
) =>
<>
...do whatever
</>
)
npm i react-hook-functions
0
0.0.2
MIT
167 kB
16