4 ms·
I was actually meaning the hooks and memoization stuff not JSX. I think JSX can be put inside conditional logic and loops.
by mike_hearn 1y ago
I was actually meaning the hooks and memoization stuff not JSX. I think JSX can be put inside conditional logic and loops.
- TomaszZielinski 1y agoAh 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.