hlaueriksson / GEmojiSharp

:octocat: GitHub Emoji for C#, ASP.NET Core and Blazor, dotnet tool for the terminal and PowerToys Run plugin
https://hlaueriksson.github.io/GEmojiSharp/
MIT License
116 stars 8 forks source link

GEmojiSharp.Blazor does not work with Blazor Web App #28

Closed hlaueriksson closed 3 months ago

hlaueriksson commented 10 months ago

GEmojiSharp.Blazor does not work with Blazor Web App projects.

Framework:

Interactive render mode:

Repro:

hlaueriksson commented 3 months ago

In a Blazor Web App (.NET 8 or later), the component requires an interactive render mode applied either globally to the app or to the component definition.

https://github.com/hlaueriksson/GEmojiSharp/blob/c273a33fa2d16edf796a4b436e3c310a7dace3fb/samples/GEmojiSharp.Sample.BlazorWeb/Components/Pages/Home.razor#L2