https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42189 --- Comment #25 from Clemens Tubach <clemens.tubach@kit.edu> --- Created attachment 196558 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196558&action=edit Bug 42189: (follow-up) Cache resolved component at registration time - Move defineAsyncComponent wrapping, name fallback, and markRaw from getRegisteredWidgets into registerWidget so the component is resolved once and the same object reference is returned on every call - Simplify getRegisteredWidgets to a plain filter over the registry To test: - Register a plugin widget with an async factory function - Verify the widget renders correctly on the dashboard - Verify that calling getRegisteredWidgets multiple times returns the same component reference (no duplicate wrappers) Signed-off-by: Clemens Tubach <clemens.tubach@kit.edu> -- You are receiving this mail because: You are watching all bug changes.