DEV Community

Discussion on: Parent-Child Component Communication with Angular and Vanilla JS

Collapse
 
fr4nks profile image
Fr4nks • Edited

Can you use document with angular universal. I'm not sure, but I think moving away from document.getElementById gives less problems in server side rendering. I've been trying to find a way around this, the parent child communication is a problem, and I'm having problems with the animations 'smooth' in nativeElement.scrollTo() , but only in chrome and edge. I don't know if these problems are fixable.