# Theme component order of precedence

**URL:** <https://meta.discourse.org/t/theme-component-order-of-precedence/156615>\
**Category:** Development\
**Created:** [2 juli 2020 om 15:13 UTC](https://meta.discourse.org/t/theme-component-order-of-precedence/156615 "2020-07-02T15:13:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![guildai](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guildai/32/248544_2.png) [@guildai](https://meta.discourse.org/u/guildai)\
**Post date:** [6 juli 2020 om 12:53 UTC](https://meta.discourse.org/t/theme-component-order-of-precedence/156615/6 "2020-07-06T12:53:09Z")

</div>

Thanks so much for detailed pointers! Given my related issues with the TOC component (which you also replied to - thank you again) I’ve forked TOC and moved the dependent code into that component. This is related to the heading IDs - specifically the need to control the from the post to handle duplicates and collisions with core element IDs.

I think given what I’m doing with docs, some of which is a bit off the reservation, I think that’s the right approach.

---

_[View the full topic](https://meta.discourse.org/t/theme-component-order-of-precedence/156615)._
