I am using this cable matters cable with the Razer Core X Chroma and a 2017 15” MBP and have no data transfer or Power issues.
https://www.amazon.com/gp/product/B01H5QF2TK/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1
One of the best 2M cables money can buy. Solved USB disconnect issues with my Razer Core X Chroma and allowed me to rearrange my setup so it's not so cramped.
If you need a longer cable than the 0.5 ft one in the box, I bought this and it worked 100% as well as the included one. https://www.amazon.com/dp/B01H5QF2TK/ref=cm_sw_r_em_apa_i_kQyyEb7GE9TJ2