Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/artem-malko/react-ssr-template
/ functions
Functions
352 in github.com/artem-malko/react-ssr-template
⨍
Functions
352
◇
Types & classes
66
↓ 2 callers
Function
useNewsItemById
(params: UseNewsItemParams)
src/application/entities/domain/news/model/fetch/useNewsItemById.ts:12
↓ 2 callers
Function
useOutsideClick
({ sourceRef, additionalRef, isShown, hide }: Params)
src/lib/hooks/useOutsideClick.ts:39
↓ 2 callers
Function
usePlatformAPI
()
src/framework/infrastructure/platform/shared/context.tsx:7
↓ 2 callers
Function
usePopup
(popupCreator: () => Omit<Popup, 'id'>, deps: any[])
src/application/shared/kit/popup/infrastructure/hook.ts:10
↓ 2 callers
Function
usePopupActions
()
src/application/shared/kit/popup/infrastructure/hook.ts:42
↓ 2 callers
Function
useRefetchAllUserQueries
()
src/application/entities/domain/user/model/refetch/useRefetchAllUserQueries.ts:5
↓ 2 callers
Function
useRefetchQuery
()
src/lib/hooks/useRefetchQuery.ts:4
↓ 2 callers
Function
useResetCacheOnUnmount
({ key, queryId, isErrorCodeOkToResetCacheCheck, }: Params)
src/framework/infrastructure/query/useResetCacheOnUnmount.ts:14
↓ 2 callers
Function
useSomethingWentWrongToast
()
src/application/shared/hooks/useSomethingWentWrongToast.tsx:5
↓ 2 callers
Function
useToggleGlass
()
src/application/shared/kit/glass/hook.ts:7
↓ 2 callers
Function
useUserByIdFetcher
()
src/application/entities/domain/user/model/fetch/useUserById.ts:16
↓ 2 callers
Function
waitForResolve
(callback: () => any)
src/lib/tests/wait.ts:11
↓ 2 callers
Function
wrapWithImmediateScript
* Creates script, which executes right before the next chunk * so nothing else can observe it. Including React. * * This script has to be removed a
src/framework/applications/server/utils/reactStreamRenderEnhancer.ts:196
↓ 1 callers
Function
abortAny
(signals: AbortSignal[])
src/framework/infrastructure/request/utils/abortController.ts:42
↓ 1 callers
Function
actionCreator
(s: string)
src/framework/infrastructure/signal/tests/integration.spec.ts:97
↓ 1 callers
Function
addStoreSubscribers
(store: Store<AnyAppState>)
src/framework/applications/client/utils/addStoreSubscribers.ts:7
↓ 1 callers
Function
afterAppRendered
({ config, logger }: Params)
src/framework/applications/client/utils/afterAppRendered.ts:10
↓ 1 callers
Method
apply
(compiler: Compiler)
src/framework/infrastructure/css/webpack/plugin/index.ts:29
↓ 1 callers
Function
back
(url: string)
src/framework/infrastructure/router/redux/middlewares/historyActons.ts:37
↓ 1 callers
Function
bindRouteConfigToPathCreator
()
src/framework/infrastructure/router/bindRouteConfigToPathCreator.ts:27
↓ 1 callers
Function
buildClientApplicationConfig
( clientApplicationConfig: Config, )
src/framework/config/generator/server.ts:37
↓ 1 callers
Function
buildServerApplicationConfig
( serverApplicationConfig: Config, )
src/framework/config/generator/server.ts:24
↓ 1 callers
Function
buildServerConfig
(serverConfig: Config)
src/framework/config/generator/server.ts:14
↓ 1 callers
Function
calcHorizontalAlignmentStyles
(params: CalcPositionParams)
src/application/shared/kit/popover/utils.ts:223
↓ 1 callers
Function
calcVerticalAlignmentStyles
(params: CalcPositionParams)
src/application/shared/kit/popover/utils.ts:282
↓ 1 callers
Function
camel2unix
* utils.camel2unix('someprefix','base2ApiUrl'); => * SOMEPREFIX_BASE_2_API_URL
src/framework/config/utils/parseEnvParams.ts:91
↓ 1 callers
Function
cleanup
()
src/framework/infrastructure/tests/dom/env/index.js:39
↓ 1 callers
Method
clearStore
()
src/framework/infrastructure/css/webpack/store.ts:4
↓ 1 callers
Function
compileQueryParam
(paramName: string, paramValue: string)
src/framework/infrastructure/router/compileURL.ts:136
↓ 1 callers
Function
compileQueryString
* compile a raw query string from URLQueryParams * queryStringParams like: * { * param_1: [value_1], * param_2: [value_2, value_3], * param
src/framework/infrastructure/router/compileURL.ts:118
↓ 1 callers
Function
createApplicationRouteHandler
({ MainComp, router, serverApplicationConfig, clientApplicationConfig, appLogger, defa
src/framework/applications/server/createApplicationRouteHandler.tsx:99
↓ 1 callers
Function
createClientGlobalErrorHandlers
(appLogger: AppLogger)
src/framework/infrastructure/logger/clientLog.ts:6
↓ 1 callers
Function
createClientSessionObject
()
src/framework/applications/client/utils/createClientSessionObject.ts:4
↓ 1 callers
Function
createCombinedAbortController
(networkTimeout: number, userSignal?: AbortSignal | null)
src/framework/infrastructure/request/utils/abortController.ts:5
↓ 1 callers
Function
createCookieAPI
()
src/lib/cookies/client.ts:5
↓ 1 callers
Function
createJSResourcePathGetter
(params: { publicPath: string; staticResourcesPathMapping: { [chunkName: string]: string[] }; })
src/framework/infrastructure/webpack/getFullPathForStaticResource.ts:16
↓ 1 callers
Function
createJsonResponse
({ status, statusText, body, headers }: CreateJsonResponseParams)
src/framework/infrastructure/request/utils/tests.ts:9
↓ 1 callers
Function
createLazyComponentLoader
( logError: (error: Error) => void = process.env.NODE_ENV === 'development' ? console.error : noopFunc, de
src/framework/infrastructure/lazy/index.tsx:38
↓ 1 callers
Function
createNavigationMiddleware
( URLCompiler: URLCompiler, )
src/framework/infrastructure/router/redux/middlewares/index.ts:7
↓ 1 callers
Function
createNavigator
(compileURL: (appContext: AnyAppContext) => string)
src/framework/infrastructure/router/redux/middlewares/navigate.ts:13
↓ 1 callers
Function
createOnFinishHadler
({ res, renderTimeoutId, queryClient, }: OnFinishHadlerCreatorParams)
src/framework/applications/server/utils/createOnFinishHadler.ts:9
↓ 1 callers
Function
createRaiseErrorStore
()
src/framework/infrastructure/raise/store.ts:4
↓ 1 callers
Function
createReducer
(initialState: AnyAppState, options: CreateReducerOptions)
src/framework/infrastructure/router/redux/store/reducer.ts:11
↓ 1 callers
Function
createRouteConfigCreator
()
src/framework/infrastructure/router/createRouteConfigCreator.ts:13
↓ 1 callers
Function
createRouterErrorHandlerMiddleware
({ onErrorFallbackHTML, }: Params)
src/framework/applications/server/middlewares/routerErrorHandler.ts:9
↓ 1 callers
Function
createServerSessionObject
(req: Request, res: Response)
src/framework/applications/server/utils/createServerSessionObject.ts:10
↓ 1 callers
Function
createStubedCookieAPI
()
src/framework/infrastructure/platform/cookie/stub/index.ts:5
↓ 1 callers
Function
createStubedWindowAPI
()
src/framework/infrastructure/platform/window/stub/index.ts:5
↓ 1 callers
Function
createTitleMiddleware
({ queryClient, windowApi, getTitle, }: Params<Page>)
src/framework/applications/client/store/middleware/title.ts:14
↓ 1 callers
Function
createURLPathParser
( routes: Routes<AnyPage<PageName>>, handle404Error: () => AnyPage<PageName>, )
src/framework/infrastructure/router/parseURL.ts:51
↓ 1 callers
Function
createUniversalAppLoggerCreator
(path: string)
src/framework/infrastructure/logger/index.ts:21
↓ 1 callers
Function
createWindowApi
(window: Window)
src/framework/infrastructure/platform/window/client.ts:3
↓ 1 callers
Function
createWindowApi
()
src/framework/infrastructure/platform/window/server.ts:3
↓ 1 callers
Function
cssify
( styleObject: Style, hash: string, dir: 'ltr' | 'rtl', cacheModificator = '', )
src/framework/infrastructure/css/generator/utils.ts:166
↓ 1 callers
Function
cssifyKeyFrames
* Need to cssify keyframes in separate function, cause it has it's own special structure like: * @keyframes keyframesName { * from: React.CSSPrope
src/framework/infrastructure/css/generator/utils.ts:155
↓ 1 callers
Function
currentUrl
()
src/framework/infrastructure/router/redux/middlewares/historyActons.ts:33
↓ 1 callers
Function
debounce
(func: T, timeout: number)
src/lib/lodash/index.ts:41
↓ 1 callers
Function
dehydrateQuery
* This is just a copy from react-query repo
src/framework/applications/server/utils/reactStreamRenderEnhancer.ts:12
↓ 1 callers
Function
dynamicImportRetryCreator
( loader: () => Promise<T>, options?: { retriesCount?: number; retriesInterval?: number; onErr
src/framework/infrastructure/lazy/retry.ts:15
↓ 1 callers
Method
emitStats
(compilation: Compilation)
webpack/plugins/dependencyManager/plugin.ts:40
↓ 1 callers
Function
execNodeJSModule
( loaderContext: LoaderContext<T>, code: string, filename: string, // paths from resolve section in we
src/framework/infrastructure/css/webpack/loader/index.ts:25
↓ 1 callers
Function
extractContentTypeFromHeaders
(headers: RequestParams<T>['headers'])
src/framework/infrastructure/request/utils/prepareFetchParams.ts:69
↓ 1 callers
Function
extractFileNameByResourceType
* staticResourcesPathMapping — is an assetsByChunkName mapping from webpack * This function will extract certain file with selected resourceType *
src/framework/infrastructure/webpack/getFullPathForStaticResource.ts:36
↓ 1 callers
Function
getAllDepsForModule
* Process of all module children recursively
src/framework/infrastructure/css/webpack/loader/index.ts:82
↓ 1 callers
Function
getColor
(color?: Color)
src/lib/console/colorize.ts:16
↓ 1 callers
Function
getDehydratedQueryStateFromDom
(queryId: string)
src/framework/infrastructure/query/getDehydratedQueryStateFromDom.ts:1
↓ 1 callers
Function
getNewsItemDataFromCache
({ queryClient, newsItemId }: Params)
src/application/entities/domain/news/model/cache/getNewsItemDataFromCache.ts:13
↓ 1 callers
Function
getPageMetadata
(params: { queryClient: QueryClient; page: Page; URLQueryParams: URLQueryParams; })
src/application/entry/server/metadata/getMetadata.ts:34
↓ 1 callers
Function
getPositionViewAttrs
(params: CalcPositionParams)
src/application/shared/kit/popover/utils.ts:40
↓ 1 callers
Function
getQueryStringParams
* Parse a raw query string like param_1=value_1¶m_2=value_2¶m_2=value_3¶m_3 * This query string will be parsed to: * { * param_1: [va
src/framework/infrastructure/router/parseURL.ts:192
↓ 1 callers
Function
getRequestContentType
(body?: RequestParams<T>['body'])
src/framework/infrastructure/request/utils/getRequestContentType.ts:12
↓ 1 callers
Function
getStatusFromAbortReason
(reason: AbortSignal['reason'], fallback: number)
src/framework/infrastructure/request/utils/abortController.ts:26
↓ 1 callers
Function
getStatusTextFromAbortReason
(reason: AbortSignal['reason'], fallback: string)
src/framework/infrastructure/request/utils/abortController.ts:30
↓ 1 callers
Function
getTitle
({ page })
src/application/pages/users/metadata.ts:6
↓ 1 callers
Function
getTitle
({ page })
src/application/pages/newsItem/metadata.ts:8
↓ 1 callers
Function
getTitle
({ page })
src/application/pages/error/metadata.ts:6
↓ 1 callers
Function
getTitle
({ page })
src/application/pages/news/metadata.ts:6
↓ 1 callers
Function
handleLogFromClient
( req: Request, { sidCookieName, userCookieName, }: { sidCookieName: string; userCookieN
src/framework/infrastructure/logger/serverLog.ts:10
↓ 1 callers
Function
handler
(e: KeyboardEvent)
src/application/shared/kit/popup/popup/index.tsx:84
↓ 1 callers
Method
hasStyles
()
src/framework/infrastructure/css/provider/serverStore.ts:49
↓ 1 callers
Function
initLogger
()
src/framework/infrastructure/logger/init/server.ts:4
↓ 1 callers
Function
isBlob
(object: any)
src/framework/infrastructure/request/utils/is.ts:39
↓ 1 callers
Function
isHostBot
(host: string)
src/framework/applications/server/middlewares/searchBots.ts:19
↓ 1 callers
Function
isNeededToBePreloaded
(name: string, originModuleName: string | undefined)
webpack/plugins/dependencyManager/plugin.ts:183
↓ 1 callers
Function
isParsedError
(error: unknown)
src/framework/infrastructure/request/utils/is.ts:75
↓ 1 callers
Function
isPathMatchesAlias
(path: string, alias: string)
src/framework/infrastructure/css/webpack/loader/index.ts:13
↓ 1 callers
Function
isRequestError
(error: Error)
src/framework/infrastructure/request/utils/is.ts:67
↓ 1 callers
Function
isSignalActionWithActionInPayload
( action: UnknownAction, )
src/framework/infrastructure/signal/utils.ts:9
↓ 1 callers
Function
isSignalActionWithSelectorsInPayload
( action: UnknownAction, )
src/framework/infrastructure/signal/utils.ts:21
↓ 1 callers
Function
loadAllStylesOnClient
(params: { fileName: string })
src/framework/infrastructure/css/loadAllStylesOnClient.ts:4
↓ 1 callers
Function
loader
(this: LoaderContext<LoaderParams>, source: string)
src/framework/infrastructure/css/webpack/loader/index.ts:137
↓ 1 callers
Function
logClientUncaughtException
(error: Error)
src/framework/infrastructure/logger/clientLog.ts:8
↓ 1 callers
Function
logServerUncaughtException
(error: Error)
src/framework/applications/server/logs/logServerUncaughtException.ts:6
↓ 1 callers
Function
main
()
tools/removeOldFiles.js:6
↓ 1 callers
Function
modifyStyles
* Polyfil styles with paddingStart and etc for old browsers * Add prefixes
src/framework/infrastructure/css/generator/utils.ts:22
↓ 1 callers
Function
noopFunc
()
src/lib/lodash/index.ts:2
↓ 1 callers
Function
onClick
(e: React.MouseEvent<HTMLAnchorElement>)
src/application/entities/ui/navigation/ui/link/index.tsx:63
↓ 1 callers
Function
onError
* If there is an error while generating the shell, * both onError and onShellError will fire. * onError is used for erro
src/framework/applications/server/createApplicationRouteHandler.tsx:407
↓ 1 callers
Function
onHistoryMove
(cb: (appContext: AnyAppContext) => void)
src/framework/infrastructure/router/redux/middlewares/historyActons.ts:45
↓ 1 callers
Function
onRecoverableErrorHandler
(args)
src/application/entry/client/index.tsx:43
← previous
next →
101–200 of 352, ranked by callers