btford / react-palm

Work in progress, docs forthcoming i promise
MIT License
60 stars 7 forks source link

Feat: default link behavior when scheme is present #14

Closed balthazar closed 7 years ago

btford commented 7 years ago

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

btford commented 7 years ago

👍

btford commented 7 years ago

LGTM