MCPcopy Create free account

hub / github.com/module-federation/module-federation-examples / functions

Functions1,929 in github.com/module-federation/module-federation-examples

↓ 183 callersMethodcheckElementWithTextPresence
({ selector, text, isVisible = true, visibilityState = 'exist', notVisibleState = 'not.exi
playwright-e2e/common/base.ts:200
↓ 107 callersFunctionhexToRgb
shared-routing/profile/src/assets/jss/material-dashboard-react.js:24
↓ 87 callersMethodopenLocalhost
({ number, path }: { number: number; path?: string })
playwright-e2e/common/base.ts:142
↓ 73 callersMethodget
(key)
advanced-api/dynamic-remotes-runtime-environment-variables/host/src/hooks/useFederatedComponent.js:49
↓ 58 callersMethodcheckElementContainText
({ selector, text, isContain = true, index, parentSelector, }: ElementContainTextOptions
playwright-e2e/common/base.ts:306
↓ 47 callersMethodapply
(compiler)
modernjs/provider/ChunkPatchPlugin.js:9
↓ 45 callersMethodcheckElementVisibility
({ selector, isVisible = true, text, parentSelector, }: VisibilityOptions)
playwright-e2e/common/base.ts:171
↓ 34 callersFunctiongetRemoteEntry
* Environment-aware remote URL generation * @param {number} port - Port number for the remote * @param {string} appName - Name of the application *
advanced-api/dynamic-remotes/shared-config.js:60
↓ 33 callersMethodclickElementWithText
({ selector, text, parentSelector, isTargetChanged = false, index, wait, }: ClickWit
playwright-e2e/common/base.ts:284
↓ 33 callersFunctionloadRemote
(args)
runtime-plugins/multiple-react-versions/app1/react-adapter-runtime-plugin.ts:33
↓ 24 callersMethodrender
()
complete-react-case/main-app/App.jsx:25
↓ 20 callersFunctionF
(r)
comprehensive-demo-react16/app-04/public/main.js:126
↓ 20 callersFunctionQ
(r, c)
comprehensive-demo-react16/app-04/public/main.js:257
↓ 20 callersFunctions
()
comprehensive-demo-react16/app-04/public/main.js:779
↓ 19 callersMethodrender
* @returns {string}
rust-wasm/remote/pkg/index_bg.js:219
↓ 19 callersMethodset
(key, value)
advanced-api/dynamic-remotes-runtime-environment-variables/host/src/hooks/useFederatedComponent.js:58
↓ 18 callersMethodcheckElementQuantity
({ selector, quantity, parentSelector, text, jqueryValue = false, }: ElementQuantityOpti
playwright-e2e/common/base.ts:359
↓ 16 callersFunctionh
(r)
comprehensive-demo-react16/app-04/public/main.js:20
↓ 16 callersMethodinit
(args: InitOptions)
advanced-api/dynamic-remotes/types/module-federation.d.ts:10
↓ 15 callersFunctione4
(r)
comprehensive-demo-react16/app-04/public/main.js:2868
↓ 15 callersMethodreloadWindow
(_withoutCache: boolean = false)
playwright-e2e/common/base.ts:167
↓ 14 callersMethodcheckElementHaveProperty
({ selector, prop, value, attr = 'css', parentSelector, text, index, isMultipl
playwright-e2e/common/base.ts:417
↓ 14 callersFunctioncreateApp
(routes: RouteConfig[])
genesis/ssr-mf-home/src/common/create-app.ts:10
↓ 14 callersMethoddelete
(key)
advanced-api/dynamic-remotes-runtime-environment-variables/host/src/hooks/useFederatedComponent.js:63
↓ 14 callersMethodresolveLocator
( selector: string, options: { parentSelector?: string; text?: string; index?: number } = {}, )
playwright-e2e/common/base.ts:94
↓ 13 callersFunctionComponent
()
federated-css/expose-remotes/expose-less/src/Component.js:9
↓ 13 callersFunctionS
(r, c)
comprehensive-demo-react16/app-04/public/main.js:35
↓ 13 callersFunctionc
(c)
comprehensive-demo-react16/app-04/public/main.js:4586
↓ 13 callersMethodcheckElementState
({ selector, state = 'be.disabled', parentSelector, text, isMultiple = false, jqueryVa
playwright-e2e/common/base.ts:382
↓ 13 callersMethodcheckElementWithTextPresence
(selector: string, text: string, shouldBeVisible = true)
advanced-api/dynamic-remotes/e2e/utils/base-test.ts:23
↓ 13 callersFunctionq
(r, c)
comprehensive-demo-react16/app-04/public/main.js:185
↓ 12 callersFunctionK
(r)
comprehensive-demo-react16/app-04/public/main.js:212
↓ 12 callersFunctioncheckElementWithTextPresence
(page: Page, selector: string, text: string)
advanced-api/dynamic-remotes/e2e/checkDynamicRemotesApps.spec.ts:21
↓ 12 callersFunctiontokens
dashboard-admin-react-rspack-material-ui/dashboard-app/src/theme.js:5
↓ 11 callersMethodclickElementWithText
(selector: string, text: string)
advanced-api/dynamic-remotes/e2e/utils/base-test.ts:41
↓ 11 callersMethodgetInitialProps
(ctx)
nextjs-ssr/shop/pages/_document.js:6
↓ 11 callersFunctionj
(r)
comprehensive-demo-react16/app-04/public/main.js:111
↓ 11 callersFunctionm
(r, c, s, u, l, h, m)
comprehensive-demo-react16/app-04/public/main.js:25
↓ 11 callersMethodrender
()
typescript-react-monorepo/packages/host/src/ErrorBoundary.tsx:19
↓ 11 callersMethodurl
* Get the base URL for this module based on environment
advanced-api/dynamic-remotes-synchronous-imports/moduleConfig.js:41
↓ 10 callersFunctionI
()
comprehensive-demo-react16/app-04/public/main.js:58
↓ 10 callersFunctione2
(r)
comprehensive-demo-react16/app-04/public/main.js:2865
↓ 10 callersMethodfillField
({ selector, text, parentSelector, }: { selector: string; text: string; parentSelect
playwright-e2e/common/base.ts:325
↓ 10 callersFunctioninit
(args)
bi-directional/app1/single-runtime-plugin.js:4
↓ 10 callersFunctionr
(c)
comprehensive-demo-react16/app-04/public/main.js:595
↓ 10 callersFunctionrender
react-18-ssr/shell/src/client/index.tsx:5
↓ 10 callersFunctionu
(r, c)
comprehensive-demo-react16/app-04/public/main.js:12
↓ 9 callersMethodcheckElementWithTextPresence
(selector: string, text: string, timeout: number = 10000)
advanced-api/dynamic-remotes-runtime-environment-variables/e2e/utils/base-test.ts:11
↓ 9 callersFunctioncreateData
(time, amount)
shared-routing/sales/src/TodayWidget.js:6
↓ 9 callersMethodexpectElementWithTextPresence
({ selector, text, exact = true, visible = true, nth, timeout, }: ExpectElementWithT
playwright-e2e/common/basePage.ts:39
↓ 9 callersFunctionopenLocalhost
( page: Page, { port, path }: { port: number; path?: string }, )
nextjs-ssr/e2e/checkNextjsSsr.spec.ts:109
↓ 9 callersFunctionopenLocalhost
( page: Page, { port, path }: { port: number; path?: string }, )
nextjs-ssr-manifest/e2e/checkNextjsSsrManifest.spec.ts:109
↓ 9 callersFunctionreadFile
(filePath: string)
playwright-e2e/helpers/file-actions-helper.ts:3
↓ 9 callersMethodskipTestByCondition
(condition: unknown, reason: string = 'Skipped by condition')
playwright-e2e/common/base.ts:496
↓ 8 callersFunctionA
(r, c)
comprehensive-demo-react16/app-04/public/main.js:63
↓ 8 callersFunctionG
(r, c, s)
comprehensive-demo-react16/app-04/public/main.js:154
↓ 8 callersFunctionH
(r, c)
comprehensive-demo-react16/app-04/public/main.js:142
↓ 8 callersMethodcheckElementVisibility
(selector: string, shouldBeVisible = true)
advanced-api/dynamic-remotes/e2e/utils/base-test.ts:32
↓ 8 callersMethodcompareInfoBetweenHosts
( selectorOrOptions: string | CompareHostsOptions, extraHostArg?: number, isEqualArg: boolean = tr
playwright-e2e/common/base.ts:593
↓ 8 callersFunctionextractInstanceId
(section: Locator, label: string)
runtime-plugins/isolate-shared-dependencies/e2e/checkIsolatedDependencies.spec.ts:24
↓ 8 callersFunctiongetConsoleLogCount
(page: Page, message: string)
rust-wasm/e2e/tests/commonChecks.spec.ts:56
↓ 8 callersFunctionl
(r)
comprehensive-demo-react16/app-04/public/main.js:17
↓ 8 callersFunctionrecord
(type, details = {})
runtime-plugins/remote-router/host/config/runtimePlugin.cjs:7
↓ 7 callersFunctionbuildUrl
(port: number)
typescript-react-fallback/e2e/tests/commonChecks.spec.ts:8
↓ 7 callersFunctionbuildUrl
(port: number)
typescript-project-references/e2e/tests/commonChecks.spec.ts:7
↓ 7 callersMethodcheckUrlText
(urlPart: string, isInclude: boolean = false)
playwright-e2e/common/base.ts:484
↓ 7 callersMethodclear
()
advanced-api/dynamic-remotes-runtime-environment-variables/host/src/hooks/useFederatedComponent.js:68
↓ 7 callersFunctionopenLocalhost
(page: Page, port: number)
advanced-api/dynamic-remotes/e2e/checkDynamicRemotesApps.spec.ts:4
↓ 7 callersMethodrender
()
different-react-versions-typescript/app1/src/components/App.tsx:32
↓ 7 callersFunctionsafeResolve
(basePath, ...segments)
unit-test/mf-test/index.js:10
↓ 7 callersFunctionwaitForConsoleLog
( page: Page, message: string, timeout: number = 5_000, )
rust-wasm/e2e/tests/commonChecks.spec.ts:63
↓ 6 callersFunctionE
(r)
comprehensive-demo-react16/app-04/public/main.js:44
↓ 6 callersFunction_define_property$2
(r, c, s)
comprehensive-demo-react16/app-04/public/main.js:3401
↓ 6 callersFunctioncheckElementVisibility
(page: Page, selector: string)
advanced-api/dynamic-remotes/e2e/checkDynamicRemotesApps.spec.ts:57
↓ 6 callersFunctioncheckElementWithTextPresence
( page: Page, selector: string, text: string, timeout: number = 10000, )
advanced-api/dynamic-remotes-synchronous-imports/e2e/checkDynamicRemotesSynchImportApps.spec.ts:9
↓ 6 callersFunctioncreateDevServerConfig
* Standard webpack devServer configuration * @param {number} port - Port number for the dev server * @returns {Object} DevServer configuration
advanced-api/dynamic-remotes/shared-config.js:74
↓ 6 callersFunctioncreateRuntimePluginPlaywrightConfig
({ baseURL = 'http://localhost:3001', useLegacyCommand = true, webServers, }: RuntimePluginPlaywrightOpt
runtime-plugins/playwright.base.ts:21
↓ 6 callersFunctioncreateSharedConfig
* Standard shared configuration for Module Federation * @param {Object} additionalShared - Additional shared dependencies specific to the app * @ret
advanced-api/dynamic-remotes/shared-config.js:21
↓ 6 callersFunctiongetFirstAppLoadedText
(page: Page, appNumber: number)
runtime-plugins/isolate-shared-dependencies/e2e/checkIsolatedDependencies.spec.ts:12
↓ 6 callersFunctionresetConsoleLogs
(page: Page)
rust-wasm/e2e/tests/commonChecks.spec.ts:50
↓ 6 callersFunctionrun
(cmd, args)
federated-css/scripts/start-all.cjs:61
↓ 6 callersFunctionsanitizeLoopbackHttpUrl
(rawUrl)
federated-css-react-ssr/server-utils/loopback.js:5
↓ 6 callersFunctionshutdown
(code = 0)
loadable-react-18/scripts/serve.js:65
↓ 6 callersFunctionwriteSharedComponent
(content: string)
server-side-render-only/e2e/tests/checkServersideRenderOnlyApp.spec.ts:33
↓ 5 callersFunctionappendText
(data: Record<string, string>, key: string, value: string)
genesis/ssr-mf-home/src/common/create-app.ts:38
↓ 5 callersFunctionb
(t)
comprehensive-demo-react18/app-04/public/494.494.js:63
↓ 5 callersFunctionbuildUrl
(baseUrl, file)
unit-test/mf-test/index.js:167
↓ 5 callersMethodcheckInputValue
( value: string, parentElement?: string, isLengthChecked: boolean = false, )
playwright-e2e/common/base.ts:339
↓ 5 callersFunctioncreateData
(id, date, name, shipTo, paymentMethod, amount)
shared-routing/order/src/data.js:1
↓ 5 callersFunctioncreateUrl
(publicPath, file)
remix/app1/utils/manifest.js:6
↓ 5 callersFunctioncreateUrl
(publicPath, file)
remix/app2/utils/manifest.js:6
↓ 5 callersFunctioncreateUrl
(publicPath, file)
rspack-remix/app1/utils/manifest.js:6
↓ 5 callersFunctioncreateUrl
(publicPath, file)
rspack-remix/app2/utils/manifest.js:6
↓ 5 callersFunctionexpectAppBar
(page: Page, title: string)
rspack-webpack-interop/e2e/checkComrehensiveDemoReact18App1.spec.ts:41
↓ 5 callersFunctionexpectAppBar
(page: Page, title: string)
comprehensive-demo-react18/e2e/checkApp1.spec.ts:43
↓ 5 callersFunctionexpectAppBar
(page: Page, title: string)
comprehensive-demo-react16/e2e/checkApp1.spec.ts:46
↓ 5 callersFunctionfetchData
(url)
clo/remote/src/ServiceComponent.js:3
↓ 5 callersFunctiongetAppSection
(page: Page, appNumber: number)
runtime-plugins/isolate-shared-dependencies/e2e/checkIsolatedDependencies.spec.ts:6
↓ 5 callersFunctiongetStringFromWasm0
(ptr, len)
rust-wasm/remote/pkg/index_bg.js:21
↓ 5 callersFunctionlogError
(f)
rust-wasm/remote/pkg/index_bg.js:70
next →1–100 of 1,929, ranked by callers