3 ms·Because componentDidMount only works for components, not elements.by amelius 11y agoBecause componentDidMount only works for components, not elements.