Coding task · JavaScript and React course · Module 5: useEffect and Custom Hooks
Practice: Cleanup in useEffect
Implement cleanup functions like safety procedures that clean up after completed missions.
Task
Create a CommunicationChannel component with useEffect that establishes a connection and cleans up on unmount.