¥Route Component
路由模块的默认导出定义了路由匹配时将渲染的组件。
¥The default export of a route module defines the component that will render when the route matches.
export default function MyRouteComponent() { return ( <div> <h1>Look ma!</h1> <p>I'm still using React after like 8 years.</p> </div> ); }