Stone.js API
    Preparing search index...

    Function inferRenderingStrategy

    • Determines the rendering strategy based on the content of the file.

      Parameters

      • content: string

        The content of the file.

      Returns "csr" | "ssr"

      The rendering strategy: 'csr' or 'ssr'.