Daniel Lindegren

Results 7 comments of Daniel Lindegren

Here's a memoized debounced version: ```js export default function DebouncedMemoizedField({ milliseconds = 400, validate, ...props }) { const timeout = useRef(null); const lastValue = useRef(null); const lastResult = useRef(null); const...

> Would you like to send a Pull Request to address this issue? Remember to add unit tests. When I have time I'll take a look at it.

> fast-json-stringify does not implement the latest draft. When will it implement the latest draft?

@isaacs it was especially confusing because I was coming from jest's `jest.mock`.

Hmm, using your example gives me: const fooAccesses = t.intercept(a, 'foo', { value: 'baz' }); Error: Cannot intercept property 'foo', defined {configurable:false} ```javascript import t from 'tap'; const a =...