01 - In a small saucepan, combine apricot preserves, pineapple juice, vinegar, brown sugar, ketchup, soy sauce, and salt.
02 - Place over medium heat and whisk until smooth and heated through, about 3-4 minutes.
03 - In a small bowl, whisk cornstarch with cold water until fully dissolved and smooth.
04 - Pour the cornstarch mixture into the saucepan while stirring constantly to prevent lumps.
05 - Bring to a gentle boil, whisking frequently, until sauce thickens and becomes glossy, approximately 2-3 minutes.
06 - If using, stir in garlic powder and onion powder for additional depth of flavor.
07 - Remove from heat and let cool slightly before serving. Store leftovers in an airtight container in the refrigerator for up to one week.