React/Redux template: How to disable server-side rendering? #1555

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

Originally created by @empz on 6/17/2016

I'm having some issues related to code that tries to run on the server while it shouldn't. I really don't have the expertise to deal with universal code so I'd like to just remove server-side rendering since I don't really need it.

I tried removing the asp-prerender-module tag in the div#react-app but that ended up in an empty div. I guess because the webpack.config.js never gets executed, and so boot-client.tsx never runs.

Is there an easy way to disable server-side rendering? I still want to use JavaScript services for its webpack integration.

*Originally created by @empz on 6/17/2016* I'm having some issues related to code that tries to run on the server while it shouldn't. I really don't have the expertise to deal with universal code so I'd like to just remove server-side rendering since I don't really need it. I tried removing the `asp-prerender-module` tag in the `div#react-app` but that ended up in an empty div. I guess because the webpack.config.js never gets executed, and so boot-client.tsx never runs. Is there an easy way to disable server-side rendering? I still want to use JavaScript services for its webpack integration.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1555
No description provided.