Refactor the `with` helper to not rely on `bind`
Merge pull request #10011 from mmun/refactor-with-view

Refactor the `with` helper to not rely on `bind`