I don’t have much experience using React, I learnt JavaScript for a while and then try to jump to react, but find it quite different with syntax and the way how it works in js.
Ex: in JavaScript let say I want to manipulate the class, we can add class name by adding document.querySelector.className(.classname) And then add css
But in react we can use something like boolean, ex: !testCode || testCode
Something like that, sorry if my explanation is not clear, but I’d like to see code comparison for different use when using js and react.
Is there’s a course that I can take a look to explain the comparison on when using js and react?
submitted by /u/Band1c0t
[link] [comments]