Closed balthazar closed 7 years ago
Probably your best bet is to use a regex to determine if there's a protocol in the provided 'to' prop.
'to'
Also don't forget protocol-relative URLs: //example.com/hello
//example.com/hello
👍
LGTM
Probably your best bet is to use a regex to determine if there's a protocol in the provided
'to'
prop.Also don't forget protocol-relative URLs:
//example.com/hello