You don't HAVE TO have a cookie banner for cookies which don't require consent.
Cookies not requiring consent :
- "technical" cookies: for session, saving some user preferences (consenting to cookies or not, language etc.)
- cookies used for load balancing or to protect against fraud
- cookies used to save a cart or used to invoice some service
- usage statistics cookies IF the data is anonymous
Also, the law is about trackers, not specifically cookies: so data in local and session storage are concerned as does browser fingerprinting.
But it's so much more effective to pretend like there are onerous requirements imposed by governments that interfere with the user experience. See: TikTok's early and unnecessary self-imposed, location-based shutdown with a pop-up message blaming the big bad government. Bonus points for ass kissing the easily manipulated current administration.