I see that it is often suggested to use functions instead of classes. For instance, the latest React updates suggest using hooks so that you don't need to write a class. I've seen similar tendencies in other JavaScript libraries.I write JavaScript only occasionally and I am not a JavaScript expert by any means, but I find classes useful. Can you tell me where this tendency comes from? Why there are large code bases without a single usage of the "class" keyword?