Well, seeing as this is javascript and not react, I would expect it not to. Classes as not unique to react so why should they work different in react from every other instance?
On top of that, doing any blackmagic auto bindings would more than likely end up with undesiderwd side effects which would result in "why IS react binding this internally?"
The idea behind react is to provide a highly performance dom manager while sticking as close to the core of javascript, you want black magic, that what angular is there for, to move as far away from the core language as possible.
Thanks, Reme for your reply 😀. And I think this is one of the reasons I always suggest my other fellow friends (who are new to React) to strengthen their JavaScript fundamentals first. Doing so will help them align and understand how any framework works.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well, seeing as this is javascript and not react, I would expect it not to. Classes as not unique to react so why should they work different in react from every other instance?
On top of that, doing any blackmagic auto bindings would more than likely end up with undesiderwd side effects which would result in "why IS react binding this internally?"
The idea behind react is to provide a highly performance dom manager while sticking as close to the core of javascript, you want black magic, that what angular is there for, to move as far away from the core language as possible.
Thanks, Reme for your reply 😀. And I think this is one of the reasons I always suggest my other fellow friends (who are new to React) to strengthen their JavaScript fundamentals first. Doing so will help them align and understand how any framework works.