AnathaShesha
Yu Yu Hakusho is a bit older than Inuyasha, so while I'll say Yu Yu Hakusho is a bit better written when it comes to dialogue it's definitely using older versions of tropes. They're also technically two different types of stories yyh is an action Shonen, while Inuyasha is an adventure Shoujo so the focus and story beats are very different. personally I think YYH is better though part of that opinion might be because when I was consuming Inuyasha the story wasn't done because it had gone on hiatus for more than 10 years toward the end of the story.