Unverified Commit 38ac0353 authored by Andrew Clark's avatar Andrew Clark Committed by GitHub

Pass loading boundary as part of RSC data (#87825)

Based on:

- https://github.com/vercel/next.js/pull/87203
- https://github.com/vercel/next.js/pull/87256
- https://github.com/vercel/next.js/pull/87293

---

Removes the `loading` as a separate field in the server response
payload. Instead, it is passed as part of the component data (the `rsc`
field).

This simplifies much of the logic on the client because, logically, they
were already coupled. Unifying the fields removes the possibility that
they'll get out of sync due to some implementation mistake.
parent 72a80d7f
......@@ -424,6 +424,7 @@ function Router({
parentCacheNode: cache,
parentSegmentPath: null,
parentParams: {},
parentLoadingData: null,
// This is the <Activity> "name" that shows up in the Suspense DevTools.
// It represents the root of the app.
debugNameContext: '/',
......
......@@ -378,6 +378,10 @@ function InnerLayoutRouter({
parentCacheNode: cacheNode,
parentSegmentPath: segmentPath,
parentParams: params,
// This is always set to null as we enter a child segment. It's
// populated by LoadingBoundaryProvider the next time we reach a
// loading boundary.
parentLoadingData: null,
debugNameContext: debugNameContext,
// TODO-APP: overriding of url for parallel routes
......@@ -392,6 +396,51 @@ function InnerLayoutRouter({
return children
}
export function LoadingBoundaryProvider({
loading,
children,
}: {
loading: LoadingModuleData
children: React.ReactNode
}) {
// Provides the data needed to render a loading.tsx boundary, via context.
//
// loading.tsx creates a Suspense boundary around each of a layout's child
// slots. (Might be bit confusing to think about the data flow, but: if
// loading.tsx and layout.tsx are in the same directory, they are assigned
// to the same CacheNode.)
//
// This provider component does not render the Suspense boundary directly;
// that's handled by LoadingBoundary.
//
// TODO: For simplicity, we should combine this provider with LoadingBoundary
// and render the Suspense boundary directly. The only real benefit of doing
// it separately is so that when there are multiple parallel routes, we only
// send the boundary data once, rather than once per child. But that's a
// negligible benefit and can be achieved via caching instead.
const parentContext = use(LayoutRouterContext)
if (parentContext === null) {
return children
}
// All values except for parentLoadingData are the same as the parent context.
return (
<LayoutRouterContext.Provider
value={{
parentTree: parentContext.parentTree,
parentCacheNode: parentContext.parentCacheNode,
parentSegmentPath: parentContext.parentSegmentPath,
parentParams: parentContext.parentParams,
parentLoadingData: loading,
debugNameContext: parentContext.debugNameContext,
url: parentContext.url,
isActive: parentContext.isActive,
}}
>
{children}
</LayoutRouterContext.Provider>
)
}
/**
* Renders suspense boundary with the provided "loading" property as the fallback.
* If no loading property is provided it renders the children without a suspense boundary.
......@@ -402,33 +451,18 @@ function LoadingBoundary({
children,
}: {
name: ActivityProps['name']
loading: LoadingModuleData | Promise<LoadingModuleData>
loading: LoadingModuleData | null
children: React.ReactNode
}): JSX.Element {
// If loading is a promise, unwrap it. This happens in cases where we haven't
// yet received the loading data from the server — which includes whether or
// not this layout has a loading component at all.
//
// It's OK to suspend here instead of inside the fallback because this
// promise will resolve simultaneously with the data for the segment itself.
// So it will never suspend for longer than it would have if we didn't use
// a Suspense fallback at all.
let loadingModuleData
if (
typeof loading === 'object' &&
loading !== null &&
typeof (loading as any).then === 'function'
) {
const promiseForLoading = loading as Promise<LoadingModuleData>
loadingModuleData = use(promiseForLoading)
} else {
loadingModuleData = loading as LoadingModuleData
}
if (loadingModuleData) {
const loadingRsc = loadingModuleData[0]
const loadingStyles = loadingModuleData[1]
const loadingScripts = loadingModuleData[2]
// TODO: For LoadingBoundary, and the other built-in boundary types, don't
// wrap in an extra function component if no user-defined boundary is
// provided. In other words, inline this conditional wrapping logic into
// the parent component. More efficient and keeps unnecessary junk out of
// the component stack.
if (loading !== null) {
const loadingRsc = loading[0]
const loadingStyles = loading[1]
const loadingScripts = loading[2]
return (
<Suspense
name={name}
......@@ -487,6 +521,7 @@ export default function OuterLayoutRouter({
parentCacheNode,
parentSegmentPath,
parentParams,
parentLoadingData,
url,
isActive,
debugNameContext,
......@@ -616,15 +651,6 @@ export default function OuterLayoutRouter({
const isVirtual = debugName === undefined
const debugNameToDisplay = isVirtual ? undefined : debugNameContext
// TODO: The loading module data for a segment is stored on the parent, then
// applied to each of that parent segment's parallel route slots. In the
// simple case where there's only one parallel route (the `children` slot),
// this is no different from if the loading module data where stored on the
// child directly. But I'm not sure this actually makes sense when there are
// multiple parallel routes. It's not a huge issue because you always have
// the option to define a narrower loading boundary for a particular slot. But
// this sort of smells like an implementation accident to me.
const loadingModuleData = parentCacheNode.loading
let child = (
<TemplateContext.Provider
key={stateKey}
......@@ -637,7 +663,17 @@ export default function OuterLayoutRouter({
>
<LoadingBoundary
name={debugNameToDisplay}
loading={loadingModuleData}
// TODO: The loading module data for a segment is stored on the
// parent, then applied to each of that parent segment's
// parallel route slots. In the simple case where there's only
// one parallel route (the `children` slot), this is no
// different from if the loading module data were stored on the
// child directly. But I'm not sure this actually makes sense
// when there are multiple parallel routes. It's not a huge
// issue because you always have the option to define a narrower
// loading boundary for a particular slot. But this sort of
// smells like an implementation accident to me.
loading={parentLoadingData}
>
<HTTPAccessFallbackBoundary
notFound={notFound}
......
......@@ -8,10 +8,7 @@ import type {
ChildSegmentMap,
CacheNode,
} from '../../../shared/lib/app-router-types'
import type {
HeadData,
LoadingModuleData,
} from '../../../shared/lib/app-router-types'
import type { HeadData } from '../../../shared/lib/app-router-types'
import {
PAGE_SEGMENT_KEY,
DEFAULT_SEGMENT_KEY,
......@@ -382,12 +379,10 @@ function updateCacheNodeOnNavigation(
needsDynamicRequest = false
} else {
const seedRsc = seedData !== null ? seedData[0] : null
const seedLoading = seedData !== null ? seedData[2] : null
const result = createCacheNodeForSegment(
navigatedAt,
newRouteTree,
seedRsc,
seedLoading,
newMetadataVaryPath,
seedHead,
newParallelRoutes,
......@@ -719,12 +714,10 @@ function createCacheNodeOnNavigation(
needsDynamicRequest = false
} else {
const seedRsc = seedData !== null ? seedData[0] : null
const seedLoading = seedData !== null ? seedData[2] : null
const result = createCacheNodeForSegment(
navigatedAt,
newRouteTree,
seedRsc,
seedLoading,
newMetadataVaryPath,
seedHead,
newParallelRoutes,
......@@ -992,7 +985,6 @@ function reuseDynamicCacheNode(
dropPrefetchRsc ? null : existingCacheNode.prefetchRsc,
existingCacheNode.head,
dropPrefetchRsc ? null : existingCacheNode.prefetchHead,
existingCacheNode.loading,
parallelRoutes,
existingCacheNode.navigatedAt
)
......@@ -1002,7 +994,6 @@ function createCacheNodeForSegment(
now: number,
tree: RouteTree,
seedRsc: React.ReactNode | null,
seedLoading: LoadingModuleData | Promise<LoadingModuleData> | null,
metadataVaryPath: PageVaryPath | null,
seedHead: HeadData | null,
newParallelRoutes: Map<string, ChildSegmentMap>,
......@@ -1044,7 +1035,6 @@ function createCacheNodeForSegment(
null,
isPage ? seedHead : null,
null,
seedLoading,
newParallelRoutes,
now
),
......@@ -1054,8 +1044,6 @@ function createCacheNodeForSegment(
let cachedRsc: React.ReactNode | null = null
let isCachedRscPartial: boolean = true
let cachedLoading: LoadingModuleData | Promise<LoadingModuleData> | null =
null
const segmentEntry = readSegmentCacheEntry(now, tree.varyPath)
if (segmentEntry !== null) {
......@@ -1064,7 +1052,6 @@ function createCacheNodeForSegment(
// Happy path: a cache hit
cachedRsc = segmentEntry.rsc
isCachedRscPartial = segmentEntry.isPartial
cachedLoading = segmentEntry.loading
break
}
case EntryStatus.Pending: {
......@@ -1086,9 +1073,6 @@ function createCacheNodeForSegment(
// we can assume the response will be full. This field is set to `false`
// for such segments.
isCachedRscPartial = segmentEntry.isPartial
cachedLoading = promiseForFulfilledEntry.then((entry) =>
entry !== null ? entry.loading : null
)
break
}
case EntryStatus.Empty:
......@@ -1114,7 +1098,6 @@ function createCacheNodeForSegment(
// means the data failed to load; the LayoutRouter will suspend indefinitely
// until the router updates again (refer to finishNavigationTask).
let rsc: React.ReactNode | null
let loading: LoadingModuleData | Promise<LoadingModuleData> | null
let doesSegmentNeedDynamicRequest: boolean
if (seedRsc !== null) {
......@@ -1124,7 +1107,6 @@ function createCacheNodeForSegment(
// partial cached state in the meantime.
prefetchRsc = cachedRsc
rsc = seedRsc
loading = seedLoading
} else {
// We already have a completely cached segment. Ignore the seed data,
// which may still be streaming in. This shouldn't happen in the normal
......@@ -1132,7 +1114,6 @@ function createCacheNodeForSegment(
// already fully cached, and the server will skip rendering them.
prefetchRsc = null
rsc = cachedRsc
loading = cachedLoading
}
doesSegmentNeedDynamicRequest = false
} else {
......@@ -1145,16 +1126,10 @@ function createCacheNodeForSegment(
// data arrives from the server.
prefetchRsc = cachedRsc
rsc = createDeferredRsc()
// TODO: Technically, a loading boundary could contain dynamic data. We
// should have separate `loading` and `prefetchLoading` fields to handle
// this, like we do for the segment data and head.
const isCacheHit = cachedRsc !== null
loading = isCacheHit ? cachedLoading : createDeferredRsc()
} else {
// The data is fully cached.
prefetchRsc = null
rsc = cachedRsc
loading = cachedLoading
}
doesSegmentNeedDynamicRequest = isCachedRscPartial
}
......@@ -1227,7 +1202,6 @@ function createCacheNodeForSegment(
prefetchRsc,
head,
prefetchHead,
loading,
newParallelRoutes,
now
),
......@@ -1244,7 +1218,6 @@ function createCacheNode(
prefetchRsc: React.ReactNode | null,
head: React.ReactNode | null,
prefetchHead: HeadData | null,
loading: LoadingModuleData | Promise<LoadingModuleData> | null,
parallelRoutes: Map<string, ChildSegmentMap>,
navigatedAt: number
): CacheNode {
......@@ -1253,7 +1226,6 @@ function createCacheNode(
prefetchRsc,
head,
prefetchHead,
loading,
parallelRoutes,
navigatedAt,
}
......@@ -1702,14 +1674,6 @@ function finishPendingCacheNode(
// been populated by a different navigation. We must not overwrite it.
}
// If we navigated without a prefetch, then `loading` will be a deferred promise too.
// Fulfill it using the dynamic response so that we can display the loading boundary.
const loading = cacheNode.loading
if (isDeferredRsc(loading)) {
const dynamicLoading = dynamicData[2]
loading.resolve(dynamicLoading, debugInfo)
}
// Check if this is a leaf segment. If so, it will have a `head` property with
// a pending promise that needs to be resolved with the dynamic head from
// the server.
......@@ -1796,11 +1760,6 @@ function abortPendingCacheNode(
}
}
const loading = cacheNode.loading
if (isDeferredRsc(loading)) {
loading.resolve(null, debugInfo)
}
// Check if this is a leaf segment. If so, it will have a `head` property with
// a pending promise that needs to be resolved. If an error was provided, we
// will not resolve it with an error, since this is rendered at the root of
......
......@@ -34,7 +34,6 @@ describe('findHeadInCache', () => {
prefetchRsc: null,
head: null,
prefetchHead: null,
loading: null,
parallelRoutes: new Map([
[
'children',
......@@ -47,7 +46,6 @@ describe('findHeadInCache', () => {
prefetchRsc: null,
head: null,
prefetchHead: null,
loading: null,
parallelRoutes: new Map([
[
'children',
......@@ -58,7 +56,6 @@ describe('findHeadInCache', () => {
navigatedAt,
head: null,
prefetchHead: null,
loading: null,
parallelRoutes: new Map([
[
'children',
......@@ -70,7 +67,6 @@ describe('findHeadInCache', () => {
rsc: null,
prefetchRsc: null,
prefetchHead: null,
loading: null,
parallelRoutes: new Map(),
head: null,
},
......
......@@ -3,7 +3,6 @@ import type {
RootTreePrefetch,
SegmentPrefetch,
} from '../../../server/app-render/collect-segment-data'
import type { LoadingModuleData } from '../../../shared/lib/app-router-types'
import type {
CacheNodeSeedData,
Segment as FlightRouterStateSegment,
......@@ -237,7 +236,6 @@ type SegmentCacheEntryShared = {
export type EmptySegmentCacheEntry = SegmentCacheEntryShared & {
status: EntryStatus.Empty
rsc: null
loading: null
isPartial: true
promise: null
}
......@@ -245,7 +243,6 @@ export type EmptySegmentCacheEntry = SegmentCacheEntryShared & {
export type PendingSegmentCacheEntry = SegmentCacheEntryShared & {
status: EntryStatus.Pending
rsc: null
loading: null
isPartial: boolean
promise: null | PromiseWithResolvers<FulfilledSegmentCacheEntry | null>
}
......@@ -253,7 +250,6 @@ export type PendingSegmentCacheEntry = SegmentCacheEntryShared & {
type RejectedSegmentCacheEntry = SegmentCacheEntryShared & {
status: EntryStatus.Rejected
rsc: null
loading: null
isPartial: true
promise: null
}
......@@ -261,7 +257,6 @@ type RejectedSegmentCacheEntry = SegmentCacheEntryShared & {
export type FulfilledSegmentCacheEntry = SegmentCacheEntryShared & {
status: EntryStatus.Fulfilled
rsc: React.ReactNode | null
loading: LoadingModuleData | Promise<LoadingModuleData>
isPartial: boolean
promise: null
}
......@@ -811,7 +806,6 @@ export function upsertSegmentEntry(
// the entry expires.
const rejectedEntry: RejectedSegmentCacheEntry = candidateEntry as any
rejectedEntry.status = EntryStatus.Rejected
rejectedEntry.loading = null
rejectedEntry.rsc = null
return null
}
......@@ -834,7 +828,6 @@ export function createDetachedSegmentCacheEntry(
// when a fetch is actually initiated.
fetchStrategy: FetchStrategy.PPR,
rsc: null,
loading: null,
isPartial: true,
promise: null,
......@@ -927,14 +920,12 @@ function fulfillRouteCacheEntry(
function fulfillSegmentCacheEntry(
segmentCacheEntry: PendingSegmentCacheEntry,
rsc: React.ReactNode,
loading: LoadingModuleData | Promise<LoadingModuleData>,
staleAt: number,
isPartial: boolean
): FulfilledSegmentCacheEntry {
const fulfilledEntry: FulfilledSegmentCacheEntry = segmentCacheEntry as any
fulfilledEntry.status = EntryStatus.Fulfilled
fulfilledEntry.rsc = rsc
fulfilledEntry.loading = loading
fulfilledEntry.staleAt = staleAt
fulfilledEntry.isPartial = isPartial
// Resolve any listeners that were waiting for this data.
......@@ -1725,7 +1716,6 @@ export async function fetchSegmentOnCacheMiss(
value: fulfillSegmentCacheEntry(
segmentCacheEntry,
serverData.rsc,
serverData.loading,
// TODO: The server does not currently provide per-segment stale time.
// So we use the stale time of the route.
route.staleAt,
......@@ -2078,7 +2068,6 @@ function writeDynamicRenderResponseIntoCache(
fetchStrategy,
route,
head,
null,
flightData.isHeadPartial,
staleAt,
route.metadata,
......@@ -2124,14 +2113,12 @@ function writeSeedDataIntoCache(
// This function is used to write the result of a runtime server request
// (CacheNodeSeedData) into the prefetch cache.
const rsc = seedData[0]
const loading = seedData[2]
const isPartial = rsc === null || isResponsePartial
fulfillEntrySpawnedByRuntimePrefetch(
now,
fetchStrategy,
route,
rsc,
loading,
isPartial,
staleAt,
tree,
......@@ -2171,7 +2158,6 @@ function fulfillEntrySpawnedByRuntimePrefetch(
| FetchStrategy.Full,
route: FulfilledRouteCacheEntry,
rsc: React.ReactNode,
loading: LoadingModuleData | Promise<LoadingModuleData>,
isPartial: boolean,
staleAt: number,
tree: RouteTree,
......@@ -2188,7 +2174,7 @@ function fulfillEntrySpawnedByRuntimePrefetch(
? entriesOwnedByCurrentTask.get(tree.requestKey)
: undefined
if (ownedEntry !== undefined) {
fulfillSegmentCacheEntry(ownedEntry, rsc, loading, staleAt, isPartial)
fulfillSegmentCacheEntry(ownedEntry, rsc, staleAt, isPartial)
} else {
// There's no matching entry. Attempt to create a new one.
const possiblyNewEntry = readOrCreateSegmentCacheEntry(
......@@ -2203,7 +2189,6 @@ function fulfillEntrySpawnedByRuntimePrefetch(
fulfillSegmentCacheEntry(
upgradeToPendingSegment(newEntry, fetchStrategy),
rsc,
loading,
staleAt,
isPartial
)
......@@ -2216,7 +2201,6 @@ function fulfillEntrySpawnedByRuntimePrefetch(
fetchStrategy
),
rsc,
loading,
staleAt,
isPartial
)
......
......@@ -5,7 +5,6 @@ import type {
InitialRSCPayload,
DynamicParamTypesShort,
HeadData,
LoadingModuleData,
} from '../../shared/lib/app-router-types'
import type { ManifestNode } from '../../build/webpack/plugins/flight-manifest-plugin'
......@@ -68,7 +67,6 @@ export type TreePrefetch = {
export type SegmentPrefetch = {
buildId: string
rsc: React.ReactNode | null
loading: LoadingModuleData | Promise<LoadingModuleData>
isPartial: boolean
}
......@@ -243,13 +241,7 @@ async function PrefetchTreeData({
// the client cache.
segmentTasks.push(
waitAtLeastOneReactRenderTask().then(() =>
renderSegmentPrefetch(
buildId,
head,
null,
HEAD_REQUEST_KEY,
clientModules
)
renderSegmentPrefetch(buildId, head, HEAD_REQUEST_KEY, clientModules)
)
)
......@@ -316,13 +308,7 @@ function collectSegmentDataImpl(
// Since we're already in the middle of a render, wait until after the
// current task to escape the current rendering context.
waitAtLeastOneReactRenderTask().then(() =>
renderSegmentPrefetch(
buildId,
seedData[0],
seedData[2],
requestKey,
clientModules
)
renderSegmentPrefetch(buildId, seedData[0], requestKey, clientModules)
)
)
} else {
......@@ -364,7 +350,6 @@ function collectSegmentDataImpl(
async function renderSegmentPrefetch(
buildId: string,
rsc: React.ReactNode,
loading: LoadingModuleData | Promise<LoadingModuleData>,
requestKey: SegmentRequestKey,
clientModules: ManifestNode
): Promise<[SegmentRequestKey, Buffer]> {
......@@ -374,7 +359,6 @@ async function renderSegmentPrefetch(
const segmentPrefetch: SegmentPrefetch = {
buildId,
rsc,
loading,
isPartial: await isPartialRSCData(rsc, clientModules),
}
// Since all we're doing is decoding and re-encoding a cached prerender, if
......
......@@ -670,7 +670,8 @@ async function createComponentTreeInternal(
// When the segment does not have a layout or page we still have to add the layout router to ensure the path holds the loading component
if (!MaybeComponent) {
return [
return createSeedData(
ctx,
createElement(
Fragment,
{
......@@ -682,12 +683,11 @@ async function createComponentTreeInternal(
parallelRouteCacheNodeSeedData,
loadingData,
isPossiblyPartialResponse,
hasRuntimePrefetch,
]
hasRuntimePrefetch
)
}
const Component = MaybeComponent
const isClientComponent = isClientReference(layoutOrPageMod)
if (
......@@ -783,7 +783,8 @@ async function createComponentTreeInternal(
)
: pageElement
return [
return createSeedData(
ctx,
createElement(
Fragment,
{
......@@ -796,8 +797,8 @@ async function createComponentTreeInternal(
parallelRouteCacheNodeSeedData,
loadingData,
isPossiblyPartialResponse,
hasRuntimePrefetch,
]
hasRuntimePrefetch
)
} else {
const SegmentComponent = Component
const isRootLayoutWithChildrenSlotAndAtLeastOneMoreSlot =
......@@ -1003,13 +1004,14 @@ async function createComponentTreeInternal(
: segmentNode
// For layouts we just render the component
return [
return createSeedData(
ctx,
wrappedSegmentNode,
parallelRouteCacheNodeSeedData,
loadingData,
isPossiblyPartialResponse,
hasRuntimePrefetch,
]
hasRuntimePrefetch
)
}
}
......@@ -1153,3 +1155,33 @@ async function createBoundaryConventionElement({
return [wrappedElement, pagePath] as const
}
function createSeedData(
ctx: AppRenderContext,
rsc: React.ReactNode,
parallelRoutes: Record<string, CacheNodeSeedData | null>,
loading: LoadingModuleData | null,
isPossiblyPartialResponse: boolean,
hasRuntimePrefetch: boolean
): CacheNodeSeedData {
if (loading !== null) {
// If a loading.tsx boundary is present, wrap the component data in an
// additional context provider to pass the loading data to the next
// set of children.
// NOTE: The reason this is a separate wrapper from LayoutRouter is because
// not all segments render a LayoutRouter component, e.g. the root segment.
const LoadingBoundaryProvider = ctx.componentMod.LoadingBoundaryProvider
const createElement = ctx.componentMod.createElement
rsc = createElement(LoadingBoundaryProvider, {
loading: loading,
children: rsc,
})
}
return [
rsc,
parallelRoutes,
null,
isPossiblyPartialResponse,
hasRuntimePrefetch,
]
}
......@@ -13,7 +13,10 @@ export { prerender } from 'react-server-dom-webpack/static'
// TODO: Just re-export `* as ReactServer`
export { captureOwnerStack, createElement, Fragment } from 'react'
export { default as LayoutRouter } from '../../client/components/layout-router'
export {
default as LayoutRouter,
LoadingBoundaryProvider,
} from '../../client/components/layout-router'
export { default as RenderFromTemplateContext } from '../../client/components/render-from-template-context'
export { workAsyncStorage } from '../app-render/work-async-storage.external'
export { workUnitAsyncStorage } from './work-unit-async-storage.external'
......
......@@ -9,6 +9,7 @@ import type {
FlightRouterState,
FlightSegmentPath,
CacheNode,
LoadingModuleData,
} from './app-router-types'
import React from 'react'
......@@ -63,6 +64,7 @@ export const LayoutRouterContext = React.createContext<{
parentCacheNode: CacheNode
parentSegmentPath: FlightSegmentPath | null
parentParams: Params
parentLoadingData: LoadingModuleData | null
debugNameContext: string
url: string
isActive: boolean
......
......@@ -48,8 +48,6 @@ export type CacheNode = {
head: HeadData
loading: LoadingModuleData | Promise<LoadingModuleData>
parallelRoutes: Map<string, ChildSegmentMap>
/**
......@@ -191,7 +189,8 @@ export type CacheNodeSeedData = [
parallelRoutes: {
[parallelRouterKey: string]: CacheNodeSeedData | null
},
loading: LoadingModuleData | Promise<LoadingModuleData>,
// TODO: This field is no longer used. Remove it.
loading: null,
isPartial: boolean,
/** TODO: this doesn't feel like it belongs here, because it's only used during build, in `collectSegmentData` */
hasRuntimePrefetch: boolean,
......
......@@ -701,7 +701,7 @@ describe('opentelemetry', () => {
},
{
attributes: {
'next.clientComponentLoadCount': isNextDev ? 7 : 6,
'next.clientComponentLoadCount': isNextDev ? 8 : 7,
'next.span_type':
'NextNodeServer.clientComponentLoading',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment