Skip to content

Remix / server: server Functions

Functions from server.ts (Remix / server)

Functions exported from server.ts

createRemixI18nRequestScope

function createRemixI18nRequestScope<T>(resolveI18n: RemixI18nResolver<T>, options: RemixI18nRequestScopeOptions): RemixI18nRequestScope<T>

Parameters

NameTypeDescription
resolveI18nRemixI18nResolver<T>-
optionsRemixI18nRequestScopeOptions-

Returns

RemixI18nRequestScope<T>

Source


createRemixI18nServer

function createRemixI18nServer<TLocale>(options: RemixI18nServerOptions<TLocale>): RemixI18nServer<TLocale>

Parameters

NameTypeDescription
optionsRemixI18nServerOptions<TLocale>-

Returns

RemixI18nServer<TLocale>

Source