Sebastian Markbåge (2013-12-29T02:36:05.000Z)
> I'm not exactly sure where who you see ES6 classes fitting into React.
>

We've explored using:
class MyComponent extends React.Component { };
let MyComponent = React.createClass(class { });
let MyComponent = React.createClass({ method() { super(); } });

Your @@create example convinced me that we're better off using the first
one together with @@create. That will allow us to delay allocation of the
hidden instance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131228/b26c31fb/attachment.html>
domenic at domenicdenicola.com (2014-01-08T19:53:59.248Z)
> I'm not exactly sure where who you see ES6 classes fitting into React.
>

We've explored using:

```js
class MyComponent extends React.Component { };
let MyComponent = React.createClass(class { });
let MyComponent = React.createClass({ method() { super(); } });
```

Your `@@create` example convinced me that we're better off using the first
one together with `@@create`. That will allow us to delay allocation of the
hidden instance.