Simplify ReactRenderer API when referencing default modules

This commit is contained in:
SteveSandersonMS
2015-11-02 20:23:05 -08:00
parent 7e1955c6fe
commit 0c59f670b2
5 changed files with 7 additions and 4 deletions

View File

@@ -17,7 +17,6 @@ namespace ReactExample.Controllers
{
ViewData["ReactOutput"] = await ReactRenderer.RenderToString(this.nodeServices,
moduleName: "ReactApp/components/ReactApp.jsx",
exportName: "ReactApp",
baseUrl: Request.Path
);
return View();