Ref forwarding timing with transient props in styled-components composition
Identify the precise timing relationship between transient prop filtering (the $ prefix) and React.forwardRef attachment when composing styled components with nested styling. The documentation states that $ props are removed before reaching the DOM or wrapped component, yet it does not specify whether the ref is attached before or after this filtering in for