Video wird geladen...
Video konnte nicht geladen werden
Working on regex support for linking config in React Navigation ✨ Any param name in linking config can be followed by a parenthesis containing a regex. Feedback welcome! Let me know if you want me to test any specific scenario!
11,072 Aufrufe • vor 1 Jahr •via X (Twitter)
5 Kommentare

Great feature for @bluesky to enable better profile URLs like

Noooo way! I was just wishing for this some days ago. I needed to send two URL patterns to the same screen but the linking config seems to support one path at a time. I guess a regex fixes this.

I think it's the opposite. If you have the same pattern for 2 screens, the regex can chose appropriate screen based on whether it matches the regexes. Your use case is more like aliases - multiple patterns for single screen. I plan to implement it in future.

It's extremely tricky to make this work. For now you can manually navigate after login by getting the URL with `Linking.getInitialURL` and using it with `useLinkTo`

This looks so damn helpful. I have some different paths to sync between app/web routes on different projects and this will make it so much simpler.
Ähnliche Videos
Sensitive content
Today, the online evidence submission for the Rape Gang Inquiry went live. If you have any information or evidence about child exploitation, please get in touch. We recognise that this could be a difficult process for survivors and families, so if I can help in any way, please contact me. We will do our best to offer support in any way we can. Thank you to all for supporting and donating.
Sammy Woodhouse
77,921 Aufrufe • vor 1 Jahr
