scriptle
Joined 13 years ago
Karma
224
Submissions
36
Member since
Jun 29
[ my public key: https://keybase.io/boopathi; my proof: https://keybase.io/boopathi/sigs/bPnaCwdEmiGjMitlvVUsj3bQYdAd6QTfRp-3DasOZNU ]
View on Hacker NewsJoined 13 years ago
Also, my favorite quote -
Before React - Don't mix HTML and JS React - Mix HTML and JS
Imagine. It simply tells you - do things like when you started learning web development `<div onClick={handleFunc}>`, change things as much as you want, and we'll take care of it. Just keep doing whatever feels natural. I've been waiting all this while from the moment I started writing code for browser - I wanted to use `onclick=func`, `onchange=func`, and `if (isHidden) return <div hidden=true>` and it just lets me do that.