Well, it depends on how you think about it.
If you haven't watched Infinity Wars, it will probably reveal a few spoilers. If you're not paying attention to any of the details, however, you would probably be OK.
If you do watch it, it could get you thinking about what happened in the third movie. But at the same time, it could ruin your Infinity War experience.
It's your choice.