Changing implmentations of once() for Drupal 10 upgrade seems pretty simple until you realize that the project has around 100 implementations of once().
So I came up with a regex replace pattern for this.
I have an LG Gram 2022 16" as my primary laptop. I fell in love with this laptop the moment I bought it. It's lightweight, it's sleek, it has a great display, full-sized keyboard, responsive touchpad, etc. I had no regret in buying this laptop.
Until it started freezing.