What sort of issues with ES5 are static class methods in ES6 supposed to deal with?
The Babel documentation has the following example in its section regarding ES6 cl
Consider class that contains only static methods:
class MyNamespace {
static foo() { ... }
static bar() { foo(); }
}
It is quite convenient way of organizing code - put stuff in namespaces.
MyNamespace.foo();
MyNamespace.bar();
That's other than standard static method use cases in other OOP languages.