Update ReactSpa to latest versions of dependencies, and pin to exact versions. Simplify some instructions.

This commit is contained in:
Steve Sanderson
2017-05-17 22:06:32 +01:00
parent 48b923fcd5
commit c9d235d425
3 changed files with 24 additions and 25 deletions

View File

@@ -27,7 +27,6 @@ export class FetchData extends React.Component<{}, FetchDataExampleState> {
<h1>Weather forecast</h1>
<p>This component demonstrates fetching data from the server.</p>
{ contents }
<p>For more sophisticated applications, consider an architecture such as Redux or Flux for managing state. You can generate an ASP.NET Core application with React and Redux using <code>dotnet new aspnet/spa/reactredux</code> instead of using this template.</p>
</div>;
}

View File

@@ -21,7 +21,7 @@ export class Home extends React.Component<{}, {}> {
<h4>Going further</h4>
<p>
For larger applications, or for server-side prerendering (i.e., for <em>isomorphic</em> or <em>universal</em> applications), you should consider using a Flux/Redux-like architecture.
You can generate an ASP.NET Core application with React and Redux using <code>dotnet new aspnet/spa/reactredux</code> instead of using this template.
You can generate an ASP.NET Core application with React and Redux using <code>dotnet new reactredux</code> instead of using this template.
</p>
</div>;
}