Forge UI Kit 2 re-renders macro config after field updates

XMLWordPrintable

    • Minor
    • L

      Issue Summary

      When we update fields on macro config the configuration screen is re-render on Forge UI Kit 2.

      Steps to Reproduce

      1. Create a Confluence macro via forge create
      2. Add config: Add configuration to a macro with UI Kit
      3. Add a console.log('re-render') within the Config() top-level component
      4. Change a field value in that config
      5. Notice that the console log fires because the entire top-level Config() has been re-rendered

      The re-render issue is a blocker for some apps' migration as this did not occur in UI Kit 1.

      Expected Results

      Config() is not re-rendered.

      Actual Results

      Config() is re-rendered.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Gustavo Serrano (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: