Type alias WithServerPropsFactory<TContext>

WithServerPropsFactory<TContext>: ((action?, options?) => GetServerSideProps)

A function, which generates which generates a GetServerSideProps function that is used for SSR rendered pages in Next.js.

Type Parameters

Type declaration

    • (action?, options?): GetServerSideProps
    • Parameters

      Returns GetServerSideProps

Returns

The new function.

Generated using TypeDoc