React is a JavaScript-based user interface library. React components are isolated reusable pieces of code logic with their own UI. React provides many standard in-built hooks to manage states, isolate side effects, create references, improve performance, etc. We can also create custom hooks, which are just JavaScript functions with access to many React features. We will learn six usages of useEffect hook to run and clean up a side effect.
3 Comments
Sort: