Prep the apples: Peel, core, and slice into 1/4-inch thick wedges. Toss with lemon juice in a large bowl.
Start the base: In a wide saucepan, combine water, apple juice (if using), sweetener, cinnamon, nutmeg, salt, and vanilla.
Warm over medium heat until the sweetener dissolves and the mixture steams.
Add apples: Stir in the sliced apples. Cover and cook 5–7 minutes, stirring once or twice, until the apples just begin to soften but still hold shape.
Thicken: Whisk cornstarch with 2 tablespoons cold water to make a slurry. Pour into the pan, stirring gently.
Simmer 2–3 minutes, uncovered, until glossy and thick.
Finish: Stir in butter or coconut oil if using. Taste and adjust sweetness or cinnamon. If too thick, add a splash of water.
If too thin, simmer 1–2 more minutes.
Cool: Remove from heat. Let the filling cool to room temperature before using in pie shells or storing.