Jan Olaf Martin
Jan Olaf Martin
@xcambar: Shameless plug - I try to keep bugger[1] roughly up-to-date with the latest redux version. Also the new fork of node-inspector by strangeloop supports source mapped coffee-script, though they...
@kangax Would you accept a PR to update the decorator tests to follow the current version of the proposal?
Done: https://github.com/kangax/compat-table/pull/1047
Looks like webpack landed its API as `import.meta.webpackHot`: https://github.com/webpack/webpack/pull/11075/files
If https://github.com/nodejs/node/pull/32869 lands, this likely should include support for `NODE_ENV` based resolution ("production" and "development").
> Especially as it is being used by Angular, [...] @ColinEberhardt Angular isn't using JS decorators as they are proposed in the standards process. They are using a custom take...
Thanks for the clarification!
@MuYunyun The reflect object itself isn't introduced with this proposal. `Reflect.construct` for example was already introduced in ES6/ES2015: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/construct. The metadata proposal just adds additional methods to it.
Btw, there's a POC for implementing it here: https://github.com/bcoe/c8
Any preferences for what this should desugar to in a babel world? A possible default implementation would just create an empty `Object.create(null)` object per module. I assume that anything else...