Migration guidesyew-routerFrom 0.16.0 to 0.17.0Version: 0.21On this pageFrom 0.16.0 to 0.17.0Switch::render is no longer needed The <Switch /> component now accepts a closure of Fn(Routable) -> Html as the render function directly. navigator API The History API has been replaced with the Navigator API.