Using fragment and Portal together leads to an incorrect rendering order.
Small reproduction: https://stackblitz.com/edit/solid-start-bare-ts-griwhk?file=src%2Fcomponents%2FComplex.tsx,src%2Froutes%2Findex.tsx
- Go to
<Complex /> component inside the component folder.
- Refresh the page once
- Edit the text inside the
<b>
- Hit save
- Check if
<Complex /> renders in the correct place