prerendering.createServerRenderer pass null value to the callback function. #246

Closed
opened 2025-08-09 17:15:33 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @ElderJames on 12/29/2017

I use the taghelper in view file,and call the prerender by asp-prerender-module attribute.
But the prerendering.createServerRenderer function pass null value to the callback function.
It cause the Uncaught TypeError: Cannot set property '_registeredComponents' of null and the context is nul.

My code is here: https://github.com/ElderJames/vuetify-aspnetcore/blob/master/Views/Home/Index.cshtml

Now I must render by ISpaPrerenderer instead of taghelper.

*Originally created by @ElderJames on 12/29/2017* I use the taghelper in view file,and call the prerender by `asp-prerender-module` attribute. But the `prerendering.createServerRenderer` function pass null value to the callback function. It cause the Uncaught TypeError: Cannot set property '_registeredComponents' of null and the context is nul. My code is here: https://github.com/ElderJames/vuetify-aspnetcore/blob/master/Views/Home/Index.cshtml Now I must render by `ISpaPrerenderer` instead of taghelper.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#246
No description provided.