DEV Community

Discussion on: How to fetch data with React Hooks

Collapse
 
mariokandut profile image
Mario • Edited

@psyduck , it really depends what your use case is. A cleanup should be always provided, you can also read more about it how-to-use-useeffect-hook-in-react/.