score:0

i can't find any info about outlet, but switch is exported from react-router and not react-router-dom, see here

import { switch } from "react-router";

Related Query

More Query from same tag