// RenderComponent will trigger a WebSocket render for the current page from the passed Componenter down only
RenderComponent will trigger a WebSocket render for the current page from the passed Componenter down only
// RenderComponent will trigger a WebSocket render for the current page from the passed Componenter down only
func RenderComponent(ctx context.Context, comp Componenter) {
	render, ok := ctx.Value(CtxRenderComponent).(func(context.Context, Componenter))
	if !ok {
		panic(ErrRenderCompCtx)
	}
	render(ctx, comp)
}
func RenderComponent ( ctx context . Context , comp Componenter ) { render , ok := ctx . Value ( CtxRenderComponent ) . ( func ( context . Context , Componenter ) ) if ! ok { panic ( ErrRenderCompCtx ) } render ( ctx , comp ) }
RenderComponent will trigger a WebSocket render for the current page from the passed Componenter down only
RenderComponent will trigger a WebSocket render for the current page from the passed Componenter down only