mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Update ReactSpa to latest versions of dependencies, and pin to exact versions. Simplify some instructions.
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
|
||||
@@ -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>;
|
||||
}
|
||||
|
||||
@@ -2,30 +2,30 @@
|
||||
"name": "WebApplicationBasic",
|
||||
"version": "0.0.0",
|
||||
"devDependencies": {
|
||||
"@types/history": "^2.0.39",
|
||||
"@types/react": "^0.14.38",
|
||||
"@types/react-dom": "^0.14.17",
|
||||
"@types/react-router": "^2.0.38",
|
||||
"@types/webpack-env": "^1.13.0",
|
||||
"aspnet-webpack": "^1.0.27",
|
||||
"@types/history": "4.5.1",
|
||||
"@types/react": "15.0.24",
|
||||
"@types/react-dom": "15.5.0",
|
||||
"@types/react-router": "4.0.9",
|
||||
"@types/webpack-env": "1.13.0",
|
||||
"aspnet-webpack": "^1.0.29",
|
||||
"aspnet-webpack-react": "^2.0.0",
|
||||
"awesome-typescript-loader": "^3.0.0",
|
||||
"bootstrap": "^3.3.6",
|
||||
"css-loader": "^0.25.0",
|
||||
"event-source-polyfill": "^0.0.7",
|
||||
"extract-text-webpack-plugin": "^2.0.0-rc",
|
||||
"file-loader": "^0.9.0",
|
||||
"isomorphic-fetch": "^2.2.1",
|
||||
"jquery": "^2.2.1",
|
||||
"json-loader": "^0.5.4",
|
||||
"react": "~15.4.0",
|
||||
"react-dom": "~15.4.0",
|
||||
"awesome-typescript-loader": "3.1.3",
|
||||
"bootstrap": "3.3.7",
|
||||
"css-loader": "0.28.1",
|
||||
"event-source-polyfill": "0.0.9",
|
||||
"extract-text-webpack-plugin": "2.1.0",
|
||||
"file-loader": "0.11.1",
|
||||
"isomorphic-fetch": "2.2.1",
|
||||
"jquery": "3.2.1",
|
||||
"json-loader": "0.5.4",
|
||||
"react": "15.5.4",
|
||||
"react-dom": "15.5.4",
|
||||
"react-hot-loader": "3.0.0-beta.7",
|
||||
"react-router-dom": "^4.0.0",
|
||||
"style-loader": "^0.13.1",
|
||||
"typescript": "^2.2.1",
|
||||
"url-loader": "^0.5.7",
|
||||
"webpack": "^2.2.0",
|
||||
"webpack-hot-middleware": "^2.12.2"
|
||||
"react-router-dom": "4.1.1",
|
||||
"style-loader": "0.17.0",
|
||||
"typescript": "2.3.2",
|
||||
"url-loader": "0.5.8",
|
||||
"webpack": "2.5.1",
|
||||
"webpack-hot-middleware": "2.18.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user