https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42189
--- Comment #48 from Paul Derscheid <[email protected]> --- Created attachment 198934 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198934&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 <[email protected]> Signed-off-by: Thomas Klausner <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
