Code Monkey home page Code Monkey logo

angular4--ngrx-store's Introduction

Angular4 与 @ngrx/store v4.0集成示例

首先,这个工程是通过angular-cli命令建立出来的,版本是1.2.1。 然后参照@ngrx给出的代码示例将@ngrx/store、@ngrx\effects、@ngrx/router-store升级到4.0 (原来的是2.0)。

相对于示例代码,除了目录结构稍有变动之外,基本上90%的代码是照搬。另外还踩到一个坑,解决办法是移除@ngrx/core模块。

2.0升级4.0会有一部分API发生变动,参照

Update

[2018-05-24] 项目已经升级到Angular6, @ngrx/store 升级到6.0

运行

npm install 

npm run start

访问 http://localhost:4201

angular4--ngrx-store's People

Contributors

ycpaladin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.