准备搜索索引...
搜索索引不可用
React Router API 参考
React Router API 参考
@react-router/node
RequestListenerOptions
接口 RequestListenerOptions
interface
RequestListenerOptions
{
build
:
ServerBuild
|
(
(
)
=>
ServerBuild
|
Promise
<
ServerBuild
>
)
;
getLoadContext
?:
(
(
request
:
Request
,
client
:
ClientAddress
)
=>
AppLoadContext
|
Promise
<
AppLoadContext
>
)
;
mode
?:
string
;
}
索引
属性
build
get
Load
Context?
mode?
属性
build
build
:
ServerBuild
|
(
(
)
=>
ServerBuild
|
Promise
<
ServerBuild
>
)
可选的
get
Load
Context
get
Load
Context
?:
(
(
request
:
Request
,
client
:
ClientAddress
)
=>
AppLoadContext
|
Promise
<
AppLoadContext
>
)
可选的
mode
mode
?:
string
设置
成员可见性
受保护的
继承的
外部的
主题
操作系统
浅色
深色
在此页上
属性
build
get
Load
Context
mode
React Router API 参考
加载中...