view: add hook to not render view if view is not ready