Now it has left second-placed Napoli trailing after Carlo Ancelotti's side was held to a goalless draw at Fiorentina on Saturday.
"Dybala did well when he came on, so did Can and [Rodrigo] Bentancur", he told the club's website.
"To play like this, everyone needs to contribute, but we should also compliment the team for how they dealt with the game".
Following on from the match, the Juventus boss praised his side's mentality to bounce back after their 3-0 defeat to Atalanta in the Coppa Italia and their 3-3 draw to Parma. Sassuolo have a strong midfield, so I had to balance my team that way today.
"Players are disappointed, but every now and then sitting on the bench is necessary to recharge the batteries and rediscover the right mental toughness", said Allegri.
Juve were given an early scare when Filip Djuricic was allowed a clear run into the box where Wojciech Szczesny brought him down, but the referee judged that the goalkeeper's challenge was legal after consulting VAR.
The Portuguese rose to head in a corner after 70 minutes, his 18th league goal and one that means he has now scored at least 20 times in all competitions in each of the last 13 seasons representing Juve, Real Madrid and Manchester United.
Udinese is just one point from the drop after it had two goals disallowed, saw a penalty saved, hit the bar and had a player sent off in a dramatic final 20 minutes before losing 1-0 at Torino.
The home squad got on the board in the 23rd minute when Sami Khedira recovered a block by Sassuolo keeper Andrea Consigli after a shot by Cristiano and pushed the ball into the net for his second league tally of the year after scoring his first last week against Chievo. Dybala is playing the same role as he did last year and the year before.
But city rival AC Milan is just four points behind Inter in fourth after beat struggling Cagliari 3-0, with new signings Lucas Paqueta and Krzysztof Piatek both scoring.
Earlier, Atalanta, briefly moved into the Champions League places with a 2-1 win over SPAL - the in-form Duvan Zapata netting their victor with his 18th goal in 12 games.