Currently there is a Redirect component, which redirects when the session becomes unauthenticated.
Maybe the name is bad, but even I just thought it would work differently.
That functionality is still relevant, but there should also be some functionality, which either renders its content (children) or starts a new login if it would render its children.
An alternative solution would be, to add a new property to the Authenticated component, which would mean "login otherwise".
Currently there is a
Redirect
component, which redirects when the session becomes unauthenticated.Maybe the name is bad, but even I just thought it would work differently.
That functionality is still relevant, but there should also be some functionality, which either renders its content (children) or starts a new login if it would render its children.
An alternative solution would be, to add a new property to the
Authenticated
component, which would mean "login otherwise".