by scriptle · 11y ago · 0 comments
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.
No comments yet.