Refactor the `if` helper to not rely on `bind` anymore
Merge pull request #9997 from ebryn/bound-if-view

Refactor the `if` helper to not rely on `bind` anymore