Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13370

[SPA++] Generate HTML on the server

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.3.0
    • None
    • None
    • 0.5
    • Flagged
    • Quasar
    • Puma Sprint 235, Puma Sprint 236, Puma Sprint 237, Puma Sprint 238, Puma Sprint 239

    Description

      Reported by client:

      Currently the @bloomreach/react-sdk BRPage component will only initialise on the client side. The data is fetched on the server, but the HTML will only be generated on the client.

      This is because the react lifecycle componentDidMount is used which only runs on the client. When using the componentWillMount lifecycle to initialise the page we could already serve all HTML to our clients and reduce the work needed for clients and potentially improve performance.

      Steps to reproduce :

      View the source of the served page and see the rendered HTML.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: