Open Dreamescaper opened 3 years ago
Requires #418 .
We could also provide RenderFragment
overloads to allow a bit exotic syntax:
async Task Navigate()
{
await NavigationService.PushAsync(
@<MyPage Parameter1="arg1" Parameter2="arg2" />
);
}
Currently we have ShellNavigationManager for url-based navigation, but it has its own limitations:
I would suggest to add a service for navigation, which would allow to work with components:
This way navigation would look smth like that:
It would be great to design this service with extensibility in mind, so that I could, for example, add extension method
ShowPopupAsync
to display XCT's Popup.Open questions: