- Montevideo
Pinned Loading
-
canvas-bullet-chart
canvas-bullet-chart PublicRender a simple bullet chart on a canvas
JavaScript 6
-
A hook to handle input value and if ...
A hook to handle input value and if said value has changed. Allows resetting value to initial or new value. 1import { useState } from 'react';
23const useInput = (initialValue = '') => {
4const [value, setValue] = useState(initialValue);
5const [touched, setTouched] = useState(false);
-
Get a promise that resolves/rejects ...
Get a promise that resolves/rejects when the specified `accepted` or `rejected` events are received. 1const EventEmitter = require('events');
23const event = new EventEmitter();
45// THIS IS THE IMPORTANT BIT
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.