「マイクロソフト系技術情報 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。 目次 †概要 †構成 †フォルダ †ReactReduxTemplate ├ ClientApp | ├ components | | ├ Counter.tsx | | ├ FetchData.tsx | | ├ Home.tsx | | ├ Layout.tsx | | └ NavMenu.tsx | ├ css | | └ site.css | ├ store | | ├ Counter.ts | | ├ index.ts | | └ WeatherForecasts.ts | ├ boot-client.tsx | ├ boot-server.tsx | ├ configureStore.ts | └ routes.tsx ├ Controllers | ├ HomeController.cs | └ SampleDataController.cs ├ Views | ├ Home | | └ Index.cshtml | ├ Shared | | ├ _Layout.cshtml | | └ Error.cshtml | ├ _ViewImports.cshtml | └ _ViewStart.cshtml ├ wwwroot | └ favicon.ico ├ .gitignore ├ appsettings.Development.json ├ appsettings.json ├ npm-shrinkwrap.json ├ package.json ├ Program.cs ├ ReactReduxTemplate.csproj ├ Startup.cs ├ tsconfig.json ├ webpack.config.js └ webpack.config.vendor.js スタック †ASP.NET Core React.jsテンプレートにReduxが追加されている。 変更点 †追加 †以下が追加されている。 ├ store | ├ Counter.ts | ├ index.ts | └ WeatherForecasts.ts ├ boot-client.tsx ├ boot-server.tsx ├ configureStore.ts store †TypeScriptなので、ReducerではなくBean的にStoreとして定義するらしい。
boot †
差分 †package †reduxと、redux-thunkの導入により、
仕様 †
詳細 †参考 †Visual Studio CodeによるSPA開発 †開発基盤部会 Wiki †JavaScript > React / Redux †この処理を、create-react-appで作成し、掘り下げを行う。 †Tags: :.NET開発, :.NET Core, :ASP.NET, :ASP.NET Web API, :ASP.NET SPA, :JavaScript |