Hacker News new | ask | show | jobs
by mike_hearn 283 days ago
I was actually meaning the hooks and memoization stuff not JSX. I think JSX can be put inside conditional logic and loops.
1 comments

Ah OK, I see it now—I focused too much on the „magic syntax”.

As for hooks, I guess I mentally treat them as magic that lives in its own lane, and so I've never really thought that I could do anything with them, other than what the manual prescribes.