We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2947e1f commit c27c1baCopy full SHA for c27c1ba
src/React.Sample.Mvc4/Views/Home/Index.cshtml
@@ -10,13 +10,13 @@
10
<body>
11
<div class="container">
12
<div class="jumbotron">
13
- <h1 class="display-4">Hello, ReactJS.NET!</h1>
+ <h1 class="display-4">ASP.NET MVC Sample</h1>
14
+ <hr className="my-4" />
15
<p class="lead">
16
This is an example of ReactJS.NET's server-side rendering. The initial state of this
17
comments box is rendered server-side, and additional data is loaded via AJAX and rendered
18
client-side.
19
</p>
- <hr class="my-4">
20
<!-- Render the component server-side, passing initial props -->
21
@Html.React("CommentsBox", new { initialComments = Model.Comments, page = Model.Page })
22
<!-- Load all required scripts (React + the site's scripts) -->
0 commit comments