Gary Illyes Tweet
Js redirects are probably not a good idea though.
— Gary 鯨理／경리 Illyes (@methode) July 8, 2020
Google John Mueller Statement Back In 2016 On Google+
Go server-side when implementing redirects.