This was something we tried to build already, but due to the way wp_head() works we couldn't do it... I'd like to keep this open as an reminder for us to think about other ways to achieve this, as it would be a better DX if layouts worked like templates and components.
This was something we tried to build already, but due to the way
wp_head()
works we couldn't do it... I'd like to keep this open as an reminder for us to think about other ways to achieve this, as it would be a better DX if layouts worked like templates and components.