The new Atomico router dispatches any asynchronous resolution of load
to Atomico's suspense API.
<RouterSwitch>
<RouterCase default load={()=><Home/>}/>
<RouterCase path="/config" load={()=><Config/>}/>
</RouterSwitch>
Improvements
RouterCase
default
property: ensures this route is executed whenever there is no match with the switch.stream
property: allows rendering each variation within the route without replacing the previous DOM, achieving progressive DOM regeneration.