- AirOps
- Montevideo
Highlights
- Pro
Pinned Loading
- 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';
23constuseInput=(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. 1constEventEmitter=require('events');
23constevent=newEventEmitter();
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.
Uh oh!
There was an error while loading. Please reload this page.





