Open xperiandri opened 9 months ago
What you have seems pretty okay, are you looking for a simpler way to do it?
In .NET 8 there's "streaming rendering" that automates this, but we'll need to convert Bolero's server-side rendering from the current custom renderer to Blazor 8's SSR to be able to use it.
but we'll need to convert Bolero's server-side rendering from the current custom renderer to Blazor 8's SSR to be able to use it
Will you work on that?
are you looking for a simpler way to do it?
If a more type-safe or Bolero-native way exists, then I would try
Will you work on that?
I've started looking into it, yes.
If a more type-safe or Bolero-native way exists, then I would try
It needs to use a dedicated component anyway. You could make the component generic instead of necessarily using TeamsContextReader
to stay type safe, and write a wrapper function that calls comp<TeamsView>
with the right parameters, but I think that's as good as you can make it.
Can I define an async Bolero node similar to