#92350ImmediateActionElement is a dependency creep
Description
The module ImmediateActionElement is used to render a define a custom HTML tag triggering certain actions once it’s rendered, like reloading the module menu or the backend’s topbar. To achieve this, it needs functionality from the modules TYPO3.ModuleMenu.App.refreshMenu and TYPO3.Backend.Topbar.refresh.
This module is loaded at a very early stage where those dependencies cannot do anything meaningful as there is nothing to do, namely the backend module, which causes JavaScript warnings and increases loading time.
In a perfect world, there would be some kind of a hooking system and no hardcoded list of actions, but we’re not there, yet.