If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
function corrugatedVectors(options) { | |
const length = lengthToPixel(options.length), | |
troughLength = lengthToPixel(options.troughLength), | |
ridgeLength = lengthToPixel(options.ridgeLength), | |
ridgeHeight = lengthToPixel(options.ridgeHeight), | |
offsetY = lengthToPixel(options.offsetY), | |
offsetX = lengthToPixel(options.offsetX), | |
offsetZ = lengthToPixel(options.offsetZ), | |
ridgeAngle = options.ridgeAngle, | |
angle = options.angle, |
I hereby claim:
To claim this, I am signing this object:
import { useRef } from "react"; | |
export default function useAfterRender(fn) { | |
const value = {}; | |
const ref = useRef(value); | |
if (ref.current === value) { | |
return; | |
} | |
return fn(); | |
} |