Skip to content

v1.6.6

Compare
Choose a tag to compare
@chaance chaance released this 29 Jul 19:58
· 3097 commits to main since this release
834e077

What's Changed

  • We've added support for exporting a links function from .mdx routes (#3801). This is leveraging the fact that MDX (which we use to parse your markdown routes) allows you to declare and export anything:

    ---
    meta:
      title: Welcome to the site
      description: Hello, World!
    ---
    
    export const links = () => [
      {
        rel: "stylesheet",
        href: "/welcome.css",
        media: "(prefers-reduced-motion: no-preference)",
      },
    ];
    
    # My Page
    
    This is **markdown** with links 🎉
  • Fixed a few type-related bugs in @remix-run/react.

Changes by package

New Contributors


Full Changelog: v1.6.5...v1.6.6