r/programming • u/jjperezaguinaga • Oct 03 '16
How it feels to learn Javascript in 2016 [x-post from /r/javascript]
https://medium.com/@jjperezaguinaga/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.758uh588b
3.5k
Upvotes
r/programming • u/jjperezaguinaga • Oct 03 '16
12
u/FarkCookies Oct 04 '16
Because things actually get rather complex with jQuery fast. Imagine a form with checkbox and a field that should be shown only when checkbox is checked. You need:
OnChange handler for checkbox.
Check condition.
Get element.
Change visibility.
It is pure presentational logic and it get's mixed up with everything else. Things get messy immediately. So yeah no, thanks. React have been a blessing for me, yes it requires certain initial investment but I believe it pays out very quickly.