@ngrx 示例和资源
Angular 2 + ngrx examples, inspired by official redux examples.
These examples illustrate how to utilize ngrx within an Angular 2 application. This repository will be actively maintained and updated as new tools and functionality become available and best practices are established.
As Angular 2 and ngrx are relatively new, patterns and best practices are still being established. Examples found in this repository demonstrate how I (or the project author) would structure the solution but discussion and refinement is always encouraged! Please open an issue, submit a pull request, or drop me a message on twitter to present a different approach or idea. This repository will feature the most solid, agreed upon techniques as they evolve.
Please add any additional Angular 2, ngrx, or reactive programming articles, repositories, or code samples you find useful. I will keep this list as up-to-date as possible!
Additional Angular 2, ngrx, and reactive programming articles, repositories, and code samples:
# clone the repo
git clone https://github.com/btroncone/ngrx-examples.git
# cd into repo
cd ngrx-examples
# cd into project of your choice
cd counter
# install dependencies
npm install
# start the server
npm startProject builds are a stripped down version of Angular Class Webpack Starter, an exceptional Angular 2 seed project. Tests can be executed with either WallabyJS or Karma (soon!).
(source)
A counter which can be incremented, decremented, with the option to increment or decrement async.
(source)
Basic todo application with add, remove, and toggle complete functionality.
Same as todos example but with undo/redo functionality.
(source)
Request and display the latest Angular or React reddit posts, utilizing the reddit API.
(source)
Request sample inventory, add and remove items from shopping cart, checkout.
letAdd and remove items financial operations, change currency rates
暂无开放 Issues,或尚未同步最近议题。