The "stateful" way you present is not at all how you would approach that problem in an ECS. I think you misunderstand what ECS refers to.
A physics system might change the position components while a decoupled rendering system might read that position components and the rendering details components to add draw commands.