A minimal reproducible demo for expo router Link brackets bug
npm i
npm start
- Start the server, open on web.
- You will see 3 links.
- 1st link goes to the proper page with proper route params
- 2nd and 3rd link has brackets in the title param and the param is removed. If you go to the 2nd or 3rd link it lands on page 2 but title is not present in the URL and not rendered.
- I think it is due to the fact that Expo is trying to match its paths which can have brackets. But it should not perform the matching on the query parameters. I think it is executing stripGroupSegmentsFromPath function in the process which is removing this part. But more investigation is needed on this.