Skip to content
View maurocen's full-sized avatar

Highlights

  • Pro

Block or report maurocen

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. canvas-bullet-chartcanvas-bullet-chartPublic

    Render a simple bullet chart on a canvas

    JavaScript 6

  2. 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.
    1
    import{useState}from'react';
    2
    3
    constuseInput=(initialValue='')=>{
    4
    const[value,setValue]=useState(initialValue);
    5
    const[touched,setTouched]=useState(false);
  3. Get a promise that resolves/rejects ...Get a promise that resolves/rejects when the specified `accepted` or `rejected` events are received.
    1
    constEventEmitter=require('events');
    2
    3
    constevent=newEventEmitter();
    4
    5
    // THIS IS THE IMPORTANT BIT