Skip to content

[TRI-703] Chore: update webapp to Remix 2.0.1 #198

Description

@ericallam

We're already using most of Remix's v2 features, as future flags in our remix.config.js.

How to

  1. Read Remix's recommendations in the v2 release
  2. They recommend upgrading to 1.19.3 first: npx upgrade-remix 1.19.3.
  3. Upgrading to v2_meta and v2_headers. These should be trivial as I don't think we use the headers function anywhere, and every route on the site requires login so only the root.tsx meta function is being used right now.
  4. Upgrade Remix to v2.0.1.
  5. Run pnpm run typecheck --filter webapp to find and fix TypeScript errors.
  6. Run the webapp and check it functions as expected

Please follow the contribution guide development section to setup and run the web app.

From SyncLinear.com | TRI-703

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/serverIssues related to the Trigger.dev serverenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions