I hereby claim:
- I am fabiancook on github.
- I am fabiancook (https://keybase.io/fabiancook) on keybase.
- I have a public key ASDPw2qRyw4A7r51up5VBbHM_ZB_I3o-OIMS6gqewS86HQo
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(); | |
} |
I hereby claim:
To claim this, I am signing this object:
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, |