Skip to content

Files

Latest commit

3419354 · Dec 10, 2022

History

History
18 lines (15 loc) · 353 Bytes

component.md

File metadata and controls

18 lines (15 loc) · 353 Bytes
title
Component

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>
  );
}