Dont pass around Context as much
Opened this issue · 0 comments
niehusst commented
It feels a bit gross that so many functions require context just to do a isHost
check. Consider hoisting the responsibility of executing the check to the caller, replacing the Context parameter w/ a Boolean isHost parameter.