It's been acknowledged several times that she took Wisconsin and Michigan for granted, and went about campaigning in Pennsylvania entirely the wrong way.
I dunno about that, it could've been better. But as is, she literally only lost the state because of a worker's strike in the Philly area. Without that, she wins entirely on Philly and Pittsburgh as planned.
If any state was actually campaigned "entirely wrong", it's North Carolina.
The workers strike in Philly stopped Hillary from winning PA? She did win the burb's around Philly though.