router icon indicating copy to clipboard operation
router copied to clipboard

feat: rewrites config

Open EvanBacon opened this issue 2 years ago • 3 comments

We need a configuration for rewriting incoming paths to new destinations. This will require the following:

  1. New config file that is JS-only (perhaps expo.config.js?). This could potentially be worked into app.config.js too 🤔
  2. Ability to fetch the config from expo-router. The rewrites will need to be saved as application-side logic on native.
  3. Matching system for rewrites. Need to match slugs and various other URL glob conventions.
  4. Intercept URL + Apply changes in getStateFromPath.

This feature should be considered blocking for the stable release.

ENG-6594

EvanBacon avatar Oct 22 '22 06:10 EvanBacon