client-only is a tiny utility to conditionally execute code only in the browser environment. It prevents server-side rendering (SSR) issues by ensuring modules or components are only loaded and executed within a client-side context. This helps avoid errors related to window, document, or other browser-specific APIs not available on the server. It's simple to use and beneficial for libraries or components with client-side dependencies.