This is what annoys me the most when developing web components. You never know which context your component might be used in, and your <hX> element might be just plain wrong.
I prefer not using them and fall back to using <header> elements inside sections, but styling them globally makes it rather difficult and ugly to work with. What's other people's solution to this? Or am I just picky when it comes to semantics?