Open Apmannen opened 4 months ago
This is really something you want to do on the client side...
Lot's of Bootstrap (probably conflicting with Tailwind) and JS dependencies.
The goal of the project is to deep dive into Blazor and .NET and minimize the usage of external plugins/libraries to a selected few.
To make use of Webassembly could be an idea, with my API endpoints I'm not using interactive server side rendering the way you're supposed to anyway:
" Blazor supports interactive server-side rendering (interactive SSR), where UI interactions are handled from the server over a real-time connection with the browser. Interactive SSR enables a rich user experience like one would expect from a client app but without the need to create API endpoints to access server resources." https://learn.microsoft.com/sv-se/aspnet/core/blazor/?view=aspnetcore-8.0
But there are reasons for everything, and I'll include them in my review afterwards.
Maybe I should convert my Guess word to use Web assembly and use interactive SSR for the upcoming Figgerits clone? Maybe have on version of each: one webassembly guess word and one SSR guess word -- for true comparison.
Inspiration: https://flowbite.com/docs/components/modal/
See if classes/methods can be moved to models etc.