Skip to content
View passbyval's full-sized avatar
Block or Report

Block or report passbyval

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

Pinned

  1. NX Plugin Workaround: Import ESM fro... NX Plugin Workaround: Import ESM from CommonJS
    1
    /**
    2
     * Workaround for NX's lack of ESM support
    3
     *
    4
     * See the following issues:
    5
     * - {@link https://github.com/nrwl/nx/issues/16776 require() of ES Module executor.js ... not supported with custom plugin using es2015 module #16776 }
  2. A web worker hook for React A web worker hook for React
    1
    import { useCallback, useEffect, useRef } from 'react'
    2
    import dedent from 'ts-dedent'
    3
    
                  
    4
    export interface IOptions extends Omit<WorkerOptions, 'type'> {
    5
      mimeType?: BlobPropertyBag['type']