Question from the React ⚛️ test

Which hook would you use to store a complex calculated value?