Closed graingert closed 7 years ago
and like webpack or etc.
I guess because it's already being run through webpack it wouldn't be that hard to do. I just didn't want to incur the overhead(ache) of transpiling JavaScript. I'm open to merging PRs for this, but I have no desire to change to a newer syntax just for stylistic reasons.
I realise that class construction is arguably better when you use actual class
es, but is it actually an issue for anyone right now? If not, maybe it's not worth the risk of breaking things.
I stuck to ES5 just to keep things simple since I didn't require the newer parts of the language spec.
It makes life easier to add getters and setters
On 16 Oct 2017 14:14, "Oliver Caldwell" notifications@github.com wrote:
I guess because it's already being run through webpack it wouldn't be that hard to do. I just didn't want to incur the overhead(ache) of transpiling JavaScript. I'm open to merging PRs for this, but I have no desire to change to a newer syntax just for stylistic reasons.
I realise that class construction is arguably better when you use actual classes, but is it actually an issue for anyone right now? If not, maybe it's not worth the risk of breaking things.
I stuck to ES5 just to keep things simple since I didn't require the newer parts of the language spec.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Olical/react-faux-dom/issues/117#issuecomment-336882841, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZQTGfzc_zlY3ewmXMLJHrV0Xw0nwSRks5ss1bKgaJpZM4P3HEm .
Going to close this one since it's not a show stopper and I'm just trying to keep up with maintenance at the moment.
eg: