DEV Community

Discussion on: Exploring The F# Frontend Landscape

Collapse
 
kaashyapan profile image
kaashyapan

What is your go to for client SPA routing ?

For my last pet project I went with github.com/fable-compiler/Fable.Store with svelte and routify for routing.
I wish you had mentioned Fable.Store.

For my next if I can manage to avoid js deps and the fear of needing js deps in the future, I might go full blazor. I love the router infer.
When Blazor was still young, I remember splitting stuff into mini MVU 'components' and passing messages between components via AsyncRx. It was a scalable model.

Collapse
 
tunaxor profile image
Angel Daniel Munoz Gonzalez

What is your go to for client SPA routing ?

I would normally use whatever the framework brings (Feliz.Router in case of Feliz, Fun.Blazor has its own, bolero has it's own) and if there's not a specific library in the framework I write some custom bindings over navigo on the projects that I need it because it is fairly small and does what I need most of the time.

For personal projects I use a more simple approach, I use DU's and pattern matching to just show what I need to show as if it was like a router

I wish you had mentioned Fable.Store.

I did mention Fable Store although, with a different name (Fable.Svelte)
I haven't seen much movement around it otherwise I would for sure talked more about it it would be nice if you could also write about how you're using it and why did you chose it!