3 ms·
"It's just plain JavaScript," say React advocates, and go on to describe the special rules — never invoke a hook under a conditional, assign keys to list items,
by pwdisswordfishc 3y ago
"It's just plain JavaScript," say React advocates, and go on to describe the special rules — never invoke a hook under a conditional, assign keys to list items, remember to list all dependencies next to hook callbacks…
- qudat 3y agoWho says that? JSX alone would render that argument ridiculous.
- earthboundkid 3y agoIt is a traditional way of selling JSX/React.