Closed olafur164 closed 5 years ago
Current version of React-Habitat is "react-habitat": "^0.5.0",
After some research I believe this is somehow related to the fact that we have nested components were we call in the parent component on componentDidMount()
if (window.updateHabitat) {
window.updateHabitat()
}
Resolved this by updating to the latest stable version of react habitat and instead of components .registerAsync(System.import('./components/Interfaces/ProductHeroSectionInterface'))
I did
.registerAsync(() => System.import('./components/Interfaces/ProductHeroSectionInterface'))
Hi @olafur164 thanks for taking the time to research and document.
Glad you got it resolved.
I think it's a bit related to https://github.com/DeloitteDigitalAPAC/react-habitat/issues/37
Each of our react components are being rendered correctly and work fine but it's quite annoying to see these errors š¢
CMS: Umbraco HTML Example:
ComponentRegistrations (Small insight in our registration code):