I have a follow up question to this question posted here Why dc component I must flow entirely through the load resistance R in buck converter?
I know now that the DC component of the inductor current flows to the resistor, creating a DC voltage V.
The AC component of the inductor current flows to the capacitor, creating a voltage ripple on the capacito voltage which centered around the DC voltage
However, the voltage across the capacitor (with ripple) IS THE voltage across the resistor. So how can we claim that the resistor has only DC current if it has the same voltage across it as the cap which has a ripple??