https://github.com/bkwld/next-client-only
Next.js utility component to render children on client-side only
https://github.com/bkwld/next-client-only
Last synced: over 1 year ago
JSON representation
Next.js utility component to render children on client-side only
- Host: GitHub
- URL: https://github.com/bkwld/next-client-only
- Owner: BKWLD
- Created: 2023-11-17T01:31:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-17T01:42:54.000Z (over 2 years ago)
- Last Synced: 2025-03-05T10:02:04.922Z (over 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next Client Only
Render components on client-side only. Usage:
```ts
import { ClientOnly } from '@bkwld/next-client-only'
export default MyComponent = () => {
return (
This will not be a part of the server side renderd template
)
}
```