Load components only on client-side not on Server in Next.js

You can copy the above snippet by clicking inside it.

This will load components only on the client-side as useEffect only runs on client