You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
I have an app that I've setup the environment for server side rendering with nodejs, but when I use the server rendering, the app hangs for minutes before it loads the page (I believe it's because I use a lot of setTimeouts to make a "presentation").
If you guys think it's related to the timeouts I can post more information.
Yeah, but is there a way to know if the app is being called from my domain? This way I could just return the app with "express.static", and if it's not, I would run different operations that don't include the async operations.
angular-automatic-lock-bot commented on Sep 4, 2019
Activity
[-]server side rendering hangs for minutes when using timeouts[/-][+]server side rendering hanging for minutes[/+]Toxicable commentedon Dec 8, 2017
This isn't an issue with Universal.
Universal will wait for all async operations ( including timeouts) to complete before rendering
rwmb commentedon Dec 8, 2017
I thought this could be the problem. Thanks @Toxicable. Is there a way of preventing this from happening?
Toxicable commentedon Dec 8, 2017
There is no "catch all" solution on this one sorry, you'll have to just manage your async operations
rwmb commentedon Dec 8, 2017
Yeah, but is there a way to know if the app is being called from my domain? This way I could just return the app with "express.static", and if it's not, I would run different operations that don't include the async operations.
angular-automatic-lock-bot commentedon Sep 4, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.