I was worried about this too, but have been pleasantly surprised by this laptop. I'm sure my use case is far different to yours though. I was looking at my RAM consumption on my 16GB MacBook Pro prior to purchasing the M1 MacBook Air, and I was usually hitting 14-15GB with multiple GB of swap used in my regular use case (couple of chrome tabs, some electron apps, Xcode, 1st party apps all open).
I consciously pare down my usage on this MacBook Air, but I am typically at around 7GB/8GB of ram, with 3-4GB of swap space used. It feels noticeably snappier and overall better (minus some odd Big Sur UI bugs every now and then) than my 2017 15in MBP.