Prepare the choux pastry: In a medium saucepan over medium heat, combine water and butter. Once the butter has melted, stir in the flour and salt. Mix until the dough pulls away from the sides of the pan, about 2-3 minutes.
Incorporate the eggs: Transfer the dough to a mixing bowl and let it cool slightly. Add eggs one at a time, mixing well after each addition until the pastry has a glossy, smooth texture.
Pipe the éclairs: Preheat your oven to 400°F (200°C). Using a piping bag fitted with a wide plain tip, pipe 4-inch long lines of choux pastry onto a baking sheet lined with parchment paper. Make sure to leave space between each éclair.
Bake the pastries: Bake for 25-30 minutes until golden brown. Avoid opening the oven door during the first 20 minutes to prevent collapsing. Let them cool completely on a wire rack.
Make the pastry cream: While the éclairs cool, heat the milk in a saucepan. In a separate bowl, whisk together the sugar, egg yolks, and cornstarch. Gradually pour the hot milk over the egg mixture, whisking continuously. Return the mixture to the saucepan and cook over medium heat until thickened, about 5-7 minutes. Stir in vanilla extract and let it cool.
Fill the éclairs: Once the choux is cool, use a pastry cream filling tip to pipe the prepared pastry cream into each éclair from the ends.
Prepare the chocolate glaze: Heat the cream in a saucepan until just simmering. Pour it over the chopped dark chocolate in a bowl and let it sit for a few minutes before stirring until smooth.
Glaze the éclairs: Dip the top of each filled éclair into the chocolate glaze and let it set on a wire rack.