Skip to content
View ilhamgusti's full-sized avatar
πŸ‘€
whoopss
πŸ‘€
whoopss

Block or report ilhamgusti

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.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

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

Report abuse
ilhamgusti/README.md

Hi! I'm Ilham Gusti Wibowo πŸ‘‹

a Frontend Developer who experienced in ReactJS to building Website. I am very passionate and love my job. My main programming language is Javascript and PHP. My favorite Library are React for web development. I am very excited to learn something new.

My Stats for the week:

ilhamgusti's wakatime stats Ilham Gusti Top Langs

Pinned Loading

  1. useInterval.js useInterval.js
    1
    function useInterval(callback) {
    2
      const savedCallback = useRef();
    3
    
                  
    4
      useEffect(() => {
    5
        savedCallback.current = callback;
  2. writing mutable object safely writing mutable object safely
    1
    /**
    2
     * 
    3
     * @param o Object to mutate
    4
     * @param ks array of keys, or string of keys
    5
     * @param v value to assign
  3. enumToArray.ts enumToArray.ts
    1
    /**
    2
     * Helper to produce an array of enum values.
    3
     * @param enumeration Enumeration object.
    4
     */
    5
    export function enumToArray<T, G extends keyof T = keyof T>(enumeration: T): T[G][] {
  4. while promise with condition while promise with condition
    1
    export default async function whilePromise(action, condition) {
    2
      const result = await action();
    3
      
    4
      if (condition(result)) {
    5
        return whilePromise(action, condition);
  5. runAllFunction.js runAllFunction.js
    1
    // https://stackoverflow.com/questions/51403615/spread-syntax-ecmascript
    2
    const callAll = (...fns) => (...args) => fns.forEach(fn => fn?.(...args))