Render components before passing as arguments.