DEV Community

Discussion on: Rethinking JavaScript: The complete elimination and eradication of JavaScript's this.

Collapse
 
pedronasser profile image
Pedro Nasser

Although I agree with the no-this movement. I wouldn't use that library in my projects.
What I think would be a better idea is to implement it in a fork of React or even request that feature to be added to the React core project. Don't you agree?

Collapse
 
joelnet profile image
JavaScript Joel

The best solution is to write your code without the need for this. JavaScript does pretty well with a functional reactive paradigm.

But when we try to OOP our JavaScript, we'll always be debugging this at some point.