Explicit prop passing in React components

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Normal
    • None
    • Affects Version/s: None
    • None

      With the Layout and EditorContainer components, props are automatically injected into child components. This may lead to confusion to new devs and also has some performance drawbacks with client-side rendered components. The props are being injected during runtime so there is a mismatch between props on the server side rendered React markup and the controller rendered client side which causes React to perform an additional rerender on the client.

      Solution: Make explicit prop declarations.

            Assignee:
            Daniel Hsing
            Reporter:
            Daniel Hsing
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package