Closed diomidov closed 4 years ago
Thanks for the report. This sounds like a problem with the Babel transpiler, though I thought I passed the argument to explicitly allow namespaces like this.. Will investigate.
This turns out to be a bug in CoffeeScript; it works fine in JSX. Once https://github.com/jashkenas/coffeescript/pull/5218 is merged, this will be fixed. If it's urgent, I can switch the coffeescript version to my fork.
Not urgent, I used the preact.h workaround.
It works if I explicitly call preact.h: