use-drunk-state
Drop in replacement for setState
that randomizes your stuff every three seconds. Ty @rickhanlonii.
import useDrunkState from 'use-drunk-state'; { const thing setThing = ; const list setList = ; return <div> <h1>Todos</h1> <ul> list </ul> <input ="text" = = /> <button = > Add todo </button> </div> ;}