component can return a Response object or array