Default Component



    Jose Romero

    Remix TypeScript public recipes

    In the above code, the Component() function returns a <div> element with the following content:

    <div> <h1>Hello World!</h1> <Link to="/route">New Route</Link>

    Library: remix

    Shortcut: remix.component.simple.create

    import { Link } from "remix";
    export default function Component() {
      return (
          <h1>Hello World!</h1>
          <Link to="/route">New Route</Link>
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.