Question: how did hux track the rebels?
Answer: This was subtly teased in Rogue One, but how does the tracker actually work? According to the book, the device is powered by "a complex static hyperspace field generator. This envelops arrays of databanks and compiters in a localized hyperspace field that accelerates their calculation speeds to unimaginable forces."