npm install --save use-lib-in-ssr
import * as React from 'react'
import { useMyHook } from 'use-lib-in-ssr'
const Example = () => {
const example = useMyHook()
return (
<div>
{example}
</div>
)
}
MIT © hppRC
This hook is created using create-react-hook.