Follow

#4. 经常在做一些data driven的component rendering的时候会遇到一个错误叫 should use , instead of . 在 arrays.map()的这个.里面。因为忽略了在一个return里面只能出现一个<></>的情况。当你data driven出了多个component之后,就打破了这个规则,所以会报错。遇到两三次了,要记住

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.