You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You used @HotkeysTarget in @blink-mind/renderer-react, then exported it as an ES6 library. But the @blueprintjs/core is in ES5. Therefore, in ES6 context, this code:
_super.apply(this,arguments)// in @blueprintjs/core
This is definitely a bug of @blueprintjs/core, which should export valid es6 class. But when I searched their issues, I found palantir/blueprint#2972 unresolved 3 years ago. So I came here for help, maybe you can use useHotkeys as suggested in their source code, or try another hotkey bindings library.
I guess you didn't find this issue mainly because of using webpack, which transforms all code to ES5 under the hood.
The text was updated successfully, but these errors were encountered:
You used
@HotkeysTarget
in@blink-mind/renderer-react
, then exported it as an ES6 library. But the@blueprintjs/core
is in ES5. Therefore, in ES6 context, this code:will raise an error
This is definitely a bug of
@blueprintjs/core
, which should export valid es6 class. But when I searched their issues, I found palantir/blueprint#2972 unresolved 3 years ago. So I came here for help, maybe you can useuseHotkeys
as suggested in their source code, or try another hotkey bindings library.I guess you didn't find this issue mainly because of using webpack, which transforms all code to ES5 under the hood.
The text was updated successfully, but these errors were encountered: