01 - In a medium saucepan, combine the berries and sugar or maple syrup.
02 - Cook over medium heat, stirring gently, until the berries begin to release their juices, about 3 to 4 minutes.
03 - Stir in fresh lemon juice and vanilla extract if using.
04 - If a thicker compote is desired, add the cornstarch slurry and stir continuously. Simmer for 2 to 3 minutes until slightly thickened.
05 - Remove from heat and serve warm over pancakes, waffles, oatmeal, yogurt, or ice cream.