I\'ve created a simplified version of my code to demostrate the issue I\'m having. I have a custom Blazor component, TestComponent.razor:
@{ int index = 0; }