Even worse with random CSS class names and random ids on many websites. Some of the JS dev crowd think it to be a good idea to have class names random generated. I consider it to be a kind of dark pattern by now.
Some CSS-in-JS libraries will create a hash of the underlying CSS and use that as the class name. So not quite random, and should remain consistent if the underlying CSS hasn't changed.
Yeah it's terrible. The JS framework we use hijacks the ID property with some internal ID which is quite annoying in some cases.