remixjs-best-practices

Installation
SKILL.md

Remix Best Practices (2025-2026 Edition)

This skill outlines modern best practices for building scalable, high-performance applications with Remix, specifically focusing on the transition to React Router v7 and future-proofing for Remix v3.

πŸš€ Key Trends (2025+)

  • React Router v7 is Remix: All Remix features are now part of React Router v7. New projects should start with React Router v7.
  • Server-First Mental Model: Loaders and Actions run only on the server.
  • "Future Flags" Adoption: Always enable v7 future flags in remix.config.js or vite.config.ts to ensuring smooth migration.
  • Codemod Migration: Use npx codemod remix/2/react-router/upgrade to migrate existing v2 apps.

πŸ—οΈ Architecture & Data Loading

1. Server-First Data Flow

Avoid client-side fetching (useEffect) unless absolutely necessary.

  • Loaders: Fetch data server-side.
  • Actions: Mutate data server-side.
  • Components: render what the loader provides.
Related skills
Installs
15
First Seen
Jan 25, 2026