Preheat Oven: Heat oven to 390°F (200°C).
Boil Butter Mixture: In a pot, mix butter, milk, water, salt, and sugar. Bring to a boil, ensuring the butter melts completely.
¼ cup water, ¼ cup milk, 3 tbsp unsalted butter, ¼ tsp salt, 1¼ tsp sugar
Add Flour: Off the heat, add flour and stir. Return to low heat, stirring continuously for 2-3 minutes until the dough is thick and glossy and leaves a thin film on the pot bottom.
2½ oz all-purpose flour
Cool Dough: Transfer dough to a bowl and let it cool for 10 minutes, spreading it out to cool faster.
Whisk Eggs: Beat eggs in a separate bowl.
2 large eggs
Mix Dough: Once the dough has slightly cooled, mix it with a hand mixer. Gradually add half the eggs, mix, and then add the remaining eggs bit by bit until the dough forms a 'V' shape when lifted with a whisk or spatula.
Prepare Tray: Line a baking tray with parchment or a silicone mat. Optionally, draw 4- to 5-inch lines with 2 inches in between on the parchment as a guide for piping.
Piping Prep: Fill a piping bag with a large tip with the eclair dough.
Pipe: Pipe the dough into strips on the tray, spaced more than an inch apart. Smooth any irregular ends with wet fingers.
Bake: Bake in a preheated oven at 356°F (180°C) for 40 minutes (30 to 35 minutes for minis), reducing the temperature if the eclairs start to brown prematurely, and open the oven door slightly for the last 5 minutes to release steam.
Cool: Let eclairs cool on the tray for 10 minutes, then transfer to a wire rack to cool completely before filling.