AvaloniaCommunity / awesome-avalonia

A collection of interesting libraries and tools for Avalonia project.
2.18k stars 172 forks source link

Add SimpleRouter/SimpleRouter.Avalonia #148

Open idotta opened 4 months ago

idotta commented 4 months ago

Added my own library to the General section.

SimpleRouter is a library that makes it very easy to navigate through routes. It was inspired by ReactiveUI's navigation. It is very flexible and can be used in many different ways. SimpleRouter.Avalonia is a package that simplifies view location and provides a RouteViewHost. The views can be created in many ways: with a DI container, through factories or even with the default reflection method used in older AvaloniaUI templates. The RouteViewHost behavior is similar to the RoutedViewHost from Avalonia.ReactiveUI.

There are nuget packages for SimpleRouter and SimpleRouter.Avalonia. There is also a sample application made using AvaloniaUI that can be tested directly in the browser through the repository github pages.