@tanstack/router-core
Version:
Modern and scalable routing for React applications
12 lines (10 loc) • 411 B
text/typescript
import { ReadableStreamPlugin } from 'seroval-plugins/web'
import { ShallowErrorPlugin } from './ShallowErrorPlugin'
import { RawStreamSSRPlugin } from './RawStreamSSRPlugin'
import type { Plugin } from 'seroval'
/** Server-only plugins for streaming hydration data into HTML. */
export const ssrSerovalPlugins: Array<Plugin<any, any>> = [
ShallowErrorPlugin,
RawStreamSSRPlugin,
ReadableStreamPlugin,
]