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

The component editor breaks when React Routing libraries are used

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.0.0
    • None
    • None

    Description

      Way to Reproduce:
      1) Open React CSR channel.
      2) Navigate News -> Medusa News.
      3) Click on a content component.
      4) Check "hide" property.

      Expected:
      The content component is hidden.

      Actual:
      The content component keeps showing.

      Context:
      React keeps the same instance of the Container Item component, but updates component property. We haven't implemented componentDidUpdate lifecycle hook, and therefore, the updated component is not subscribed for the Channel Manager events.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mdokolin Mikhail Dokolin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: