Razor components and pages both have an OnAfterRender lifecycle method. When you have <SomeComponent> in your index.razor, the index.razor's OnAfterRender fires first, and then the SomeComponent.OnAfterRender fires afterwards.
Suppose on the razor page you need to do some work, but can only do it after SomeComponent.OnAfterRender fires. What's the appropriate way to do that?
This can be important because a component's backing HTML is not ready (may not exist) until its OnAfterRender fires. So in other words, how can a razor page author know when its components are the equivalent of DOM ready?