interface MiniPartial
interface MiniPartial {
cache?: MiniCacheOptions;
render(context: MiniContext): MaybePromise<string>;
style(): MaybePromise<string>;
}Represents a partial that can be rendered and served with server context. Partials are smaller reusable fragments that have access to request context, unlike MiniFragment which is context-free.
property cache
MiniCacheOptionsmethod render
render(context: MiniContext): MaybePromise<string>method style
style(): MaybePromise<string>