Back to Blog
Luigi v2.4
Aleksandra Simeonova @Luigi on Aug 23, 2023

You can read about the new features in Luigi v2.4 in the release notes below.

Luigi Client functions for web components

With this release, we added the possibility to use more Luigi Client functions with web-component-based micro frontends. The following functions are now available also for web components:

Added onLoad functionality for web components

We added an onLoad functionality to web component micro frontends. An event wc_ready is sent when the web component is ready, which should then initialize Luigi Client. It is possible to defer this initialization using deferLuigiClientWCInit: true. For more information, see the pull request.

data-testid attribute for the modal close button

In this release, we added the possibility to configure a data-testid attribute for the close button of a modal. The attribute can be specified via the modalSettings in openAsModal. For more information, see the pull request.

Removed onunload listener

Due to deprecation of the unload event, we removed the onunload listener from Luigi.

Our Youtube Channel

Get the latest from Luigi

Always stay up to date with our growing collection of news, innvovations and video tutorials.

Browse Channel

Luigi - Our Youtube Channel - Youtube