AD
Size: a a a
AD
AD
И
AZ
AS
const types = {
"one": FirstComponent,
"two": SecondComponent
}
const factory = (type, props) => {
if (types.hasOwnProperty(type)) {
return createElement(types[type], props)
}
// return default component
}
AD
AS
И
A
AS
АБ
AS
A
PW
Parent { <Child/> }
, то componentDidMount
будет исполнен, когда уже и Child загрузится?АБ
AS
Parent { <Child/> }
, то componentDidMount
будет исполнен, когда уже и Child загрузится?A
И