01 - Place diced strawberries, granulated sugar, and lemon juice in a medium saucepan. Stir thoroughly to evenly coat the fruit.
02 - Set the saucepan over medium heat and cook for 5 to 7 minutes, stirring occasionally, until the strawberries soften and release their juices.
03 - In a small mixing bowl, whisk together cornstarch and water until fully smooth and no lumps remain.
04 - Pour the cornstarch slurry into the strawberry mixture. Continue stirring constantly over medium heat for 3 to 5 minutes until thickened and glossy.
05 - Remove saucepan from heat. Blend in vanilla extract, if desired.
06 - Allow the filling to cool to room temperature before incorporating into baked goods. The mixture will set further as it cools.
07 - Transfer any unused filling to an airtight container and refrigerate for up to five days.