router
router copied to clipboard
feat: rewrites config
We need a configuration for rewriting incoming paths to new destinations. This will require the following:
- New config file that is JS-only (perhaps
expo.config.js
?). This could potentially be worked intoapp.config.js
too 🤔 - Ability to fetch the config from
expo-router
. The rewrites will need to be saved as application-side logic on native. - Matching system for rewrites. Need to match slugs and various other URL glob conventions.
- Intercept URL + Apply changes in
getStateFromPath
.
This feature should be considered blocking for the stable release.
ENG-6594