Block or Report
Block or report passbyval
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
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 }
-
A web worker hook for React
A web worker hook for React 1import { useCallback, useEffect, useRef } from 'react'
2import dedent from 'ts-dedent'
34export interface IOptions extends Omit<WorkerOptions, 'type'> {
5mimeType?: BlobPropertyBag['type']
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.