Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/umijs/qiankun
/ functions
Functions
213 in github.com/umijs/qiankun
⨍
Functions
213
◇
Types & classes
38
↓ 60 callers
Function
removeWs
(s: string | null)
src/sandbox/patchers/__tests__/css.test.ts:29
↓ 44 callers
Method
defineProperty
(_: Window, p: string | symbol, attributes: PropertyDescriptor)
src/sandbox/legacy/sandbox.ts:146
↓ 36 callers
Method
process
(styleNode: HTMLStyleElement, prefix: string = '')
src/sandbox/patchers/css.ts:43
↓ 34 callers
Function
test
()
src/sandbox/__tests__/proxySandbox.test.ts:320
↓ 30 callers
Function
fakeStyleNode
(css: string)
src/sandbox/patchers/__tests__/css.test.ts:19
↓ 24 callers
Method
get
(_: Window, p: PropertyKey)
src/sandbox/legacy/sandbox.ts:119
↓ 18 callers
Method
hasOwnProperty
(this: any, key: PropertyKey)
src/sandbox/proxySandbox.ts:409
↓ 17 callers
Function
getCurrentRunningApp
()
src/sandbox/common.ts:14
↓ 12 callers
Function
rebindTarget2Fn
(target: any, fn: any)
src/sandbox/common.ts:29
↓ 11 callers
Method
getOwnPropertyDescriptor
(_: Window, p: PropertyKey)
src/sandbox/legacy/sandbox.ts:137
↓ 8 callers
Function
calcAppCount
( appName: string, calcType: 'increase' | 'decrease', status: 'bootstrapping' | 'mounting', )
src/sandbox/patchers/dynamicAppend/common.ts:74
↓ 8 callers
Function
isPropertyFrozen
(target: any, p?: PropertyKey)
src/utils.ts:92
↓ 8 callers
Function
sleep
(ms: number)
src/utils.ts:13
↓ 7 callers
Method
getOwnPropertyDescriptor
(target: FakeWindow, p: string | number | symbol)
src/sandbox/proxySandbox.ts:342
↓ 7 callers
Method
getPrototypeOf
()
src/sandbox/proxySandbox.ts:400
↓ 7 callers
Function
nextTask
(cb: () => void)
src/utils.ts:31
↓ 7 callers
Function
toArray
(array: T | T[])
src/utils.ts:9
↓ 7 callers
Function
validateExportLifecycle
(exports: any)
src/utils.ts:200
↓ 5 callers
Function
execHooksChain
( hooks: Array<LifeCycleFn<T>>, app: LoadableApp<T>, global = window, )
src/loader.ts:46
↓ 5 callers
Function
getAppWrapperHeadElement
(appWrapper: Element | ShadowRoot)
src/sandbox/patchers/dynamicAppend/common.ts:38
↓ 5 callers
Method
has
(target: FakeWindow, p: string | number | symbol)
src/sandbox/proxySandbox.ts:337
↓ 5 callers
Method
has
(_: Window, p: string | number | symbol)
src/sandbox/legacy/sandbox.ts:133
↓ 5 callers
Method
inactive
()
src/sandbox/legacy/sandbox.ts:59
↓ 4 callers
Method
active
()
src/sandbox/legacy/sandbox.ts:51
↓ 4 callers
Function
arrayify
(list: CSSRuleList | any[])
src/sandbox/patchers/css.ts:21
↓ 4 callers
Function
genAppInstanceIdByName
(appName: string)
src/utils.ts:188
↓ 4 callers
Function
getContainerXPath
(container?: string | HTMLElement)
src/utils.ts:304
↓ 4 callers
Function
getMicroAppStateActions
(id: string, isMaster?: boolean)
src/globalState.ts:37
↓ 4 callers
Function
getWrapperId
(name: string)
src/utils.ts:164
↓ 4 callers
Function
isBoundedFunction
(fn: CallableFunction)
src/utils.ts:118
↓ 4 callers
Function
patchLooseSandbox
( appName: string, appWrapperGetter: () => HTMLElement | ShadowRoot, sandbox: SandBox, mounting = true
src/sandbox/patchers/dynamicAppend/forLooseSandbox.ts:27
↓ 4 callers
Function
recordStyledComponentsCSSRules
(styleElements: HTMLStyleElement[])
src/sandbox/patchers/dynamicAppend/common.ts:175
↓ 4 callers
Function
render
({ element, loading, container }, phase)
src/loader.ts:156
↓ 4 callers
Method
render
()
examples/react15/App.jsx:8
↓ 4 callers
Method
rewrite
(rules: CSSRule[], prefix: string = '')
src/sandbox/patchers/css.ts:90
↓ 4 callers
Function
validateSingularMode
( validate: FrameworkConfiguration['singular'], app: LoadableApp<T>, )
src/loader.ts:58
↓ 3 callers
Function
appsName2Apps
(names: string[])
src/prefetch.ts:116
↓ 3 callers
Function
array2TruthyObject
* transform array to object to enable faster element check with in operator * @param array
src/sandbox/proxySandbox.ts:31
↓ 3 callers
Function
assertElementExist
(element: Element | null | undefined, msg?: string)
src/loader.ts:36
↓ 3 callers
Function
getOverwrittenAppendChildOrInsertBefore
(opts: { rawDOMAppendOrInsertBefore: <T extends Node>(newChild: T, refChild?: Node | null) => T; isInvoked
src/sandbox/patchers/dynamicAppend/common.ts:206
↓ 3 callers
Function
getStyledElementCSSRules
(styledElement: HTMLStyleElement)
src/sandbox/patchers/dynamicAppend/common.ts:191
↓ 3 callers
Function
getXPathForElement
(el: Node, document: Document)
src/utils.ts:267
↓ 3 callers
Function
isHijackingTag
(tagName?: string)
src/sandbox/patchers/dynamicAppend/common.ts:51
↓ 3 callers
Function
loader
(loading)
examples/main/index.js:16
↓ 3 callers
Function
patch
(global: Window)
src/sandbox/patchers/interval.ts:12
↓ 3 callers
Function
patchStrictSandbox
( appName: string, appWrapperGetter: () => HTMLElement | ShadowRoot, sandbox: SandBox, mounting = true
src/sandbox/patchers/dynamicAppend/forStrictSandbox.ts:247
↓ 3 callers
Function
prefetchAfterFirstMounted
(apps: AppMetadata[], opts?: ImportEntryOpts)
src/prefetch.ts:88
↓ 3 callers
Function
rebuildCSSRules
( styleSheetElements: HTMLStyleElement[], reAppendElement: (stylesheetElement: HTMLStyleElement) => boolea
src/sandbox/patchers/dynamicAppend/common.ts:489
↓ 3 callers
Method
registerRunningApp
(name: string, proxy: Window)
src/sandbox/proxySandbox.ts:419
↓ 3 callers
Method
setWindowProp
(prop: PropertyKey, value: any, toDelete?: boolean)
src/sandbox/legacy/sandbox.ts:40
↓ 2 callers
Function
attachElementToProxy
(element: HTMLElement, proxy: Window)
src/sandbox/patchers/dynamicAppend/forStrictSandbox.ts:54
↓ 2 callers
Function
autoDowngradeForLowVersionBrowser
(configuration: FrameworkConfiguration)
src/apis.ts:26
↓ 2 callers
Function
createElement
( appContent: string, strictStyleIsolation: boolean, scopedCSS: boolean, appInstanceId: string, )
src/loader.ts:67
↓ 2 callers
Function
createStyleElement
()
src/sandbox/patchers/dynamicAppend/__tests__/common.test.ts:10
↓ 2 callers
Function
defineNonEnumerableProperty
(target: any, key: string | symbol, value: any)
src/sandbox/patchers/dynamicAppend/common.ts:162
↓ 2 callers
Function
emitGlobal
(state: Record<string, any>, prevState: Record<string, any>)
src/globalState.ts:14
↓ 2 callers
Function
getAppWrapperGetter
generate app wrapper dom getter
src/loader.ts:113
↓ 2 callers
Function
getContainer
(container: string | HTMLElement)
src/utils.ts:300
↓ 2 callers
Function
getDefaultTplWrapper
(name: string, sandboxOpts: FrameworkConfiguration['sandbox'])
src/utils.ts:142
↓ 2 callers
Function
getNewRemoveChild
( rawRemoveChild: typeof HTMLElement.prototype.removeChild, containerConfigGetter: (element: HTMLElement)
src/sandbox/patchers/dynamicAppend/common.ts:371
↓ 2 callers
Function
initGlobalState
(state: Record<string, any> = {})
src/globalState.ts:22
↓ 2 callers
Function
isAllAppsUnmounted
()
src/sandbox/patchers/dynamicAppend/common.ts:94
↓ 2 callers
Function
isCallable
(fn: any)
src/utils.ts:74
↓ 2 callers
Function
isStyledComponentsLike
(element: HTMLStyleElement)
src/sandbox/patchers/dynamicAppend/common.ts:65
↓ 2 callers
Function
iter
(obj: typeof window, callbackFn: (prop: any) => void)
src/sandbox/snapshotSandbox.ts:8
↓ 2 callers
Function
loadApp
( app: LoadableApp<T>, configuration: FrameworkConfiguration = {}, lifeCycles?: FrameworkLifeCycles<T>,
src/loader.ts:244
↓ 2 callers
Function
loadMicroApp
( app: LoadableApp<T>, configuration?: FrameworkConfiguration & { autoStart?: boolean }, lifeCycles?: Fr
src/apis.ts:95
↓ 2 callers
Function
manualInvokeElementOnError
(element: HTMLLinkElement | HTMLScriptElement)
src/sandbox/patchers/dynamicAppend/common.ts:130
↓ 2 callers
Function
manualInvokeElementOnLoad
(element: HTMLLinkElement | HTMLScriptElement)
src/sandbox/patchers/dynamicAppend/common.ts:116
↓ 2 callers
Function
patchCustomEvent
( e: CustomEvent, elementGetter: () => HTMLScriptElement | HTMLLinkElement | null, )
src/sandbox/patchers/dynamicAppend/common.ts:100
↓ 2 callers
Function
patchHTMLDynamicAppendPrototypeFunctions
( isInvokedByMicroApp: (element: HTMLElement) => boolean, containerConfigGetter: (element: HTMLElement) =>
src/sandbox/patchers/dynamicAppend/common.ts:426
↓ 2 callers
Function
performanceMark
(markName: string)
src/utils.ts:236
↓ 2 callers
Function
prefetch
* prefetch assets, do nothing while in mobile network * @param entry * @param opts
src/prefetch.ts:75
↓ 2 callers
Function
prefetchImmediately
(apps: AppMetadata[], opts?: ImportEntryOpts)
src/prefetch.ts:103
↓ 2 callers
Function
registerValidSW
(swUrl, config)
examples/react16/src/serviceWorker.js:55
↓ 2 callers
Function
render
({ loading })
examples/main/render/VueRender.js:22
↓ 2 callers
Function
render
(props = {})
examples/vue3/src/main.js:13
↓ 2 callers
Function
render
(props = {})
examples/vue/src/main.js:17
↓ 2 callers
Function
resolve
(dir)
examples/vue3/vue.config.js:4
↓ 2 callers
Function
setDefaultMountApp
(defaultAppLink: string)
src/effects.ts:12
↓ 2 callers
Function
storeTest
(props)
examples/vue/src/main.js:36
↓ 2 callers
Function
syncAppWrapperElement2Sandbox
(element: HTMLElement | null)
src/loader.ts:361
↓ 2 callers
Function
wrapParcelConfigForRemount
(config: ParcelConfigObject)
src/apis.ts:109
↓ 1 callers
Method
active
()
src/sandbox/proxySandbox.ts:181
↓ 1 callers
Function
bootstrap
()
examples/react15/index.js:12
↓ 1 callers
Function
checkValidServiceWorker
(swUrl, config)
examples/react16/src/serviceWorker.js:99
↓ 1 callers
Function
convertLinkAsStyle
( element: HTMLLinkElement, postProcess: (styleElement: HTMLStyleElement) => void, fetchFn = fetch, )
src/sandbox/patchers/dynamicAppend/common.ts:140
↓ 1 callers
Function
createFakeWindow
(globalContext: Window, speedy: boolean)
src/sandbox/proxySandbox.ts:105
↓ 1 callers
Function
createSandboxContainer
( appName: string, elementGetter: () => HTMLElement | ShadowRoot, scopedCSS: boolean, useLooseSandbox?
src/sandbox/index.ts:34
↓ 1 callers
Function
doPrefetchStrategy
( apps: AppMetadata[], prefetchStrategy: PrefetchStrategy, importEntryOpts?: ImportEntryOpts, )
src/prefetch.ts:111
↓ 1 callers
Function
getAddOns
(global: Window, publicPath: string)
src/addons/index.ts:11
↓ 1 callers
Function
getLifecyclesFromExports
( scriptExports: LifeCycles<any>, appName: string, global: WindowProxy, globalLatestSetProp?: Property
src/loader.ts:206
↓ 1 callers
Function
getRender
* Get the render function * If the legacy render function is provide, used as it, otherwise we will insert the app element to target container by qia
src/loader.ts:155
↓ 1 callers
Method
getTitleText
()
examples/angular9/e2e/src/app.po.ts:8
↓ 1 callers
Function
idleCall
(cb: IdleRequestCallback, start: number)
src/prefetch.ts:19
↓ 1 callers
Method
inactive
()
src/sandbox/proxySandbox.ts:186
↓ 1 callers
Function
isConstructable
(fn: () => any | FunctionConstructor)
src/utils.ts:43
↓ 1 callers
Function
isCurrentScriptConfigurable
()
src/sandbox/patchers/dynamicAppend/common.ts:314
↓ 1 callers
Function
isEnableScopedCSS
(sandbox: FrameworkConfiguration['sandbox'])
src/utils.ts:250
↓ 1 callers
Function
isExecutableScriptType
(script: HTMLScriptElement)
src/sandbox/patchers/dynamicAppend/common.ts:42
next →
1–100 of 213, ranked by callers