Glossary: Real-Time Apps with WebSockets
useEffect
Also written: effect
A React hook that runs a function after the component appears, where you start things outside React such as a socket. Its returned function is the cleanup.
Glossary: Real-Time Apps with WebSockets
Also written: effect
A React hook that runs a function after the component appears, where you start things outside React such as a socket. Its returned function is the cleanup.