tomask/remix-rules icon
public
Published on 3/26/2025
tomask/remix-rules

Rules for Remix.js

Rules
  • We are not using React Router (remix) framework mode yet, but are planning to transition into it
  • Follow React Router (Previously called Remix.js) patterns, loaders and actions correctly, use server and client components.
  • Use Linaria CSS for styling
  • Use strict typescript as much as possible
  • No use of "any" or unnecessary casting
  • Use Redux for state management, with connect()
  • Use PascalCase when creating new React files. UserCard, not user-card.
  • Use named exports when creating new react components.
  • DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.