This addresses two issues that occur when using new.target:
It's incompatible with Internet Explorer 11.
It doesn't compile with any existing Babel plugins when using it with Reflect.construct, the way we are.
This change does mean that if somebody tries to extend the mixinProxy using Object.create, they will need to be sure to manually set the prototype correctly.
This addresses two issues that occur when using
new.target
:Reflect.construct
, the way we are.This change does mean that if somebody tries to extend the mixinProxy using
Object.create
, they will need to be sure to manually set the prototype correctly.