Jordan

Results 205 comments of Jordan

This issue hasn't been addressed and the project seems to be abandonware. There is no real substitute for `super`, so the suggested workaround I went with was "don't use CoffeeScriptRedux"....

Only a substitute for `super` in the simplest case. Doesn't work with non-constructor methods.

You can also do this: ``` coffeescript Foo::bla.apply this, [message] ``` But that isn't the point. This issue isn't that workarounds to not supporting `super` don't exist, it's that `super`...

The component then has to know it's going to be wrapped by the HoC which seems too messy for my taste. If we think about the HoC like a decorator,...

Also, if we use ES6, static methods are automatically inheritable and visible inside the class declaration where they are expected to be, and `MyComponent.willTransitionTo` is not. Having to declare static...

Yeah, that's a possibility. But I don't necessarily think we need to copy over all static properties/methods. If we assume that React components are being passed to connect, statics declared...

Hmm. So, what is bad about copying them all over? And does the HoC currently take any other arguments besides a store string, array of store strings, or hash of...

Yeah. It's essentially a form of inheritance, but in the absence of a usable "method missing" construct in JS, isn't it sort of impossible to have transparent decorators anyway? I...

Hmm, okay. Since it's still a static method and would be lost to connect, does this mean you first call `connect` on the component (if it needs it)? So it's...