esm: restore next<HookName>
's context
as optional arg
#43553
Merged
next<HookName>
's context
as optional arg
#43553