the router.back() close pattern is right most of the time but has a real edge case worth flagging, if someone lands directly on the intercepted modal URL from an external link or a new tab (no prior history entry in your app), back() sends them wherever they came from instead of the feed. usually fixed with a fallback like checking if there's app history and doing router.push('/') otherwise. worth adding to the dismissal section since it bites people who share the intercepted URL by mistake instead of the standalone one
the router.back() close pattern is right most of the time but has a real edge case worth flagging, if someone lands directly on the intercepted modal URL from an external link or a new tab (no prior history entry in your app), back() sends them wherever they came from instead of the feed. usually fixed with a fallback like checking if there's app history and doing router.push('/') otherwise. worth adding to the dismissal section since it bites people who share the intercepted URL by mistake instead of the standalone one