DEV Community

Discussion on: Debouncing with React Hooks

Collapse
 
chrislovescode profile image
Chris

Great read!
Just as a side note: you don't have to import react to your use-debounce.js.
" import { useState, useEffect } from 'react';"is just fine