Heat the oven. Preheat to 400°F (200°C) and line a baking tray with parchment paper.
Make the choux dough. Bring the water, butter and a pinch of salt to a boil, then add the flour all at once and stir vigorously until the dough forms a ball and pulls away from the pan.
Cool and add eggs. Let the dough cool for 5 minutes, then beat in the eggs one at a time until the dough is smooth, glossy and falls slowly from the spoon.
Pipe the éclairs. Spoon the dough into a piping bag and pipe 4-inch logs onto the tray, leaving space between them. Smooth any peaks with a wet fingertip.
Bake until golden. Bake for 20 to 25 minutes until puffed and deeply golden, then turn the oven off, prop the door open slightly, and leave the shells inside for 10 minutes to dry out.
Make the pastry cream. While the shells cool, whisk the milk, sugar, cornstarch and egg yolks in a pan over medium heat until thick, then stir in the vanilla and chill until set.
Fill the shells. Pipe the chilled cream into each shell through two small holes in the base, or slice the shells open and spoon the cream inside.
Glaze and chill. Dip the tops in the melted chocolate and cream glaze, then chill for at least 30 minutes before serving.