Add support to the element property
RouterCase.element
This new property allows defining a customElement to mount at the time of the match, example:
<RouterSwitch>
<RouterCase path="/" element={MyHome} />
<RouterCase path="/login" element="my-login" />
</RouterSwitch>
Fix
- load executes correctly, without the need to define memo