Why is not there an if inside JSX?

后端 未结 0 1963
谎友^
谎友^ 2021-01-27 13:48

I found this code for creating a function-based component in the React documentation :

function Mailbox(props) {
  const unreadMessa         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题