I understand that any component library that depends on a window or a document cannot be used while we pre-create the angular application.
Does this mean that it is almost impossible to pre-render the application without writing our own library of components and make it somehow window independent? if there was a peaceful way to do this, people would already do it, right?
this begs the question of what strategies people have followed by successfully pre-rendering the angular application and also using the external component library? if there is no way to do this, do people use pre-rendering without any such library in prod?
I used all possible solutions for creating angular material with aspnetcore 2.0 pre-rendering, and none of them worked, for example: angular -ssr
Any advice on strategy is welcome, it also makes me wonder if pre-rendering is such a pain in angular and very important for the business side of the application, is using a reaction the best strategy?
source
share