I hereby claim:
- I am bsdahl on github.
- I am bdahl (https://keybase.io/bdahl) on keybase.
- I have a public key ASCXTdL8iJnW0gotE4Qv2-E5jZXW7UIvs6B5C5Q0_cdq3wo
To claim this, I am signing this object:
| export function areIntersectingKeysEqual(...objects) { | |
| return objects | |
| .map((object) => Object.keys(object)) | |
| .sort((a, b) => a.length - b.length) | |
| .reduce((a, b) => a.filter((key) => b.includes(key))) | |
| .every((key) => objects.every((object) => object[key] === objects[0][key])); | |
| } |
| export function intersectingKeys(...objects) { | |
| return objects | |
| .map((object) => Object.keys(object)) | |
| .sort((a, b) => a.length - b.length) | |
| .reduce((a, b) => a.filter((key) => b.includes(key))); | |
| } |
| import React from 'react'; | |
| import { animated, useTrail } from 'react-spring'; | |
| export const StaggeredFade = ({ children, ...props }) => { | |
| const trail = useTrail(React.Children.count(children), { | |
| from: { opacity: 0 }, | |
| to: { opacity: 1 }, | |
| config: { mass: 1, tension: 280, friction: 60, clamp: true }, | |
| }); |
| export function watchDog(event, context) { | |
| let messageStack = []; | |
| let timeoutId; | |
| const push = function(message) { | |
| messageStack.push(message); | |
| }; | |
| const setupTimer = function(event, context, callback) { | |
| messageStack.push('Start'); |
I hereby claim:
To claim this, I am signing this object: