@bkwld/next-client-only

0.1.0 • Public • Published

Next Client Only

Render components on client-side only. Usage:

import { ClientOnly } from '@bkwld/next-client-only'

export default MyComponent = () => {
	return (
    	<ClientOnly>
        	<div>This will not be a part of the server side renderd template</div>
        </ClientOnly>
    )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @bkwld/next-client-only

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

13.4 kB

Total Files

7

Last publish

Collaborators

  • azerozvn
  • lemoswilson
  • sjstark
  • weotch
  • mattaebersold
  • isaazgarcia
  • brokenhd