Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-44

Angular - components do not rerender on props change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Blocker
    • None
    • 1.0.0
    • None
    • None

    Description

      Reported against react in MGNLFE-40; check angular as well.

      All components inĀ @magnolia/react-editor are classes so they do not rerender on new props.
      Hence when new page is fetched and new content is passed to Page component id does not update.

      It blocks the SPA behaviour.

      Please make all the components a stateless ones, as we do not need them to be full blow classes, and stateless ones will fix the issue.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                canh.nguyen Canh Nguyen
                bstaryga Bartosz Staryga
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 0.25d
                      0.25d