If the future she visits is a bad one, Hermione would be determined to change it. She has a strong sense of justice and wouldn't stand by and let people suffer. She would use her knowledge of the past and her wits to find a way to make things better, whether it involves changing the actions of certain individuals or influencing the course of events on a larger scale.
Another possibility is that Hermione sees a future where magic has evolved in unexpected ways. She could discover new spells and potions that are far more advanced than what she knows in her time. And Draco might be a key figure in this new magical world, and she has to learn to work with him in ways she never expected.
Their relationship would likely become more serious and responsible. They'd have to put aside some of their youthful antics as they now have a child to think about, even if it's from the future. There would be a new level of trust and understanding as they work together to deal with the situation.
She might become extremely angry and cut off all ties with Draco immediately. Hermione is a strong - willed character, so she would not tolerate betrayal easily. She could use her magic to create some sort of barrier between them, magically locking him out of her life.
Their relationship might become more trusting. In the future, they could have overcome their past differences and rivalries completely. They might rely on each other more for support and decision - making, becoming true friends or even something more.
Hermione would likely react with more intellectual and introspective grief. Unlike some characters who might show their pain more physically or impulsively, Hermione would probably stand there, silently analyzing all the memories and what Harry's death means for the wizarding world. She might be thinking about the future without Harry and how to uphold his values.
He might be really surprised. Naruto is used to his own world and the fanfiction could show things he never imagined. For example, if the fanfiction has his kids achieving great things in new ways, he'd be proud yet a bit shocked at how creative fans can be.
He might be shocked at how the village has developed. In some fanfictions, the village could have advanced technology. Naruto, being from a more traditional ninja world, would likely be both amazed and a bit confused at first.
He might be shocked at first. In fanfiction, the future could be full of unexpected changes. He could be excited to see how his friends and the village have developed. Maybe he'd be a bit sad if things didn't turn out as he hoped for his loved ones.
She would likely be on high alert. Hermione is a smart witch, so she would quickly assess the situation. She might immediately reach for her wand and prepare to defend herself. Her first reaction would probably be fear, but she would soon overcome it with her determination to not be a victim.
Hermione would probably be deeply hurt at first. She trusts Harry and Ron so much, and being abandoned by them would be a huge blow. But she's also very determined. So, she might throw herself into her studies even more, using her knowledge as a way to cope and also to find a solution to the situation.