This is nicer because the conditional happens immediately, rather than on every render.