8. Handling Side Effects
Learning Objectives
By the end of this chapter, you will be able to do the following:
– Identify side effects in your React apps.
– Understand and use the useEffect()
Hook.
– Utilize the different features and concepts related to the useEffect()
Hook to avoid bugs and optimize your code.
– Handle side effects related and unrelated to state changes.