I'm upgrading some code from JS API 4.21 to 4.25 and was wondering if there is any guide that gives you examples of how functions that were deprecated can be reproduced in the new version.
Specifically I am looking for examples of how QueryTask can be rewritten with the new Query.
Thanks.