Here is Gary’s tweet:
Js redirects are probably not a good idea though.
— Gary 鯨理／경리 Illyes (@methode) July 8, 2020
Go server side when it comes to implementing redirects.
Forum discussion at Twitter.