We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import { useArray } from "react-raw-hooks/hooks/useArray"
const App = () => { const [items, fns] = useArray([5, 6, 7, 8]) return ( <div> {items.map(n => <span>{n}, </span>)} <button onClick={() => fns.push(10)}></button> </div> ) }