Why Taro subcomponents cannot be rendered

Taro Zhang defines a child component. If you use this component in the parent component, it cannot be compiled at all on the Mini Program side, and the child component cannot be displayed or executed. What is the reason for this?

clipboard.png

Dec.31,2021

Fuck, in taro, only one component can be written in a js file, multiple other components can be written, and direct references will be invalid. Components must be written in another separate file before import is introduced to compile


my problem is similar to yours
I pass a value to the child component in the parent component, and then the child component cannot receive it.
parent component:
< Tab pageurl= {this.state.pageurl} / >

subcomponents:
componentDidMount () {

console.log('tab' ,this.props.pageurl)

}

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e378e0-429f4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e378e0-429f4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?