0.0.2 • Published 4 years ago
react-hook-functions v0.0.2
react-hook-functions
just gets rid of squiggly brackets
import { useState } from 'react-hooks-functions'
useState(
false,
(
select,
setSelect,
) =>
<>
...do whatever
</>
)