Giter VIP home page Giter VIP logo

Comments (18)

xtianus79 avatar xtianus79 commented on May 13, 2024

@Kaffiend where are you getting information for ngrx 4?

from angular-hmr.

Kaffiend avatar Kaffiend commented on May 13, 2024

@xtianus79 here

from angular-hmr.

xtianus79 avatar xtianus79 commented on May 13, 2024

@Kaffiend I guess I don't see versioning... are these for specific components such as store?

from angular-hmr.

Kaffiend avatar Kaffiend commented on May 13, 2024

The whole repo is for for 4.x.x The previous versions are still in their old repos here

from angular-hmr.

xtianus79 avatar xtianus79 commented on May 13, 2024

@Kaffiend lol i don't why this seems confusing but I don't see anything that designates itself as version 4

from angular-hmr.

xtianus79 avatar xtianus79 commented on May 13, 2024

@Kaffiend got the answer from Robert... it will be the next official release.

from angular-hmr.

Kaffiend avatar Kaffiend commented on May 13, 2024

I got the 4.x from the main readme 😄 in the migration guide section saying for versions prior to 4.x 😁

from angular-hmr.

Kaffiend avatar Kaffiend commented on May 13, 2024

@xtianus79 NGRX 4.x.x released yesterday. 😄

from angular-hmr.

PatrickJS avatar PatrickJS commented on May 13, 2024

this works with anything you just need to be able to hook into the store and inject the initial state

from angular-hmr.

Kaffiend avatar Kaffiend commented on May 13, 2024

was using an old version of hmr, and the issue was in serializing the routerStore that contained routerState which has circular structure.

from angular-hmr.

dereklin avatar dereklin commented on May 13, 2024

@gdi2290 or others. This is related to hmr. Do you have any idea how to hook the global state back to ngrx 4?: https://github.com/ngrx/effects/issues/82

from angular-hmr.

PatrickJS avatar PatrickJS commented on May 13, 2024

@dereklin hmr allows anyone to hook into the state right before the app is bootstrapped which means this isn't a problem of hmr so much as ngrx needa a way to inject state

from angular-hmr.

dereklin avatar dereklin commented on May 13, 2024

@gdi2290 right. My question was answered in the referenced github issue. Thanks for checking.

from angular-hmr.

PatrickJS avatar PatrickJS commented on May 13, 2024

@dereklin can you make a PR to the readme for adding instructions on how to add support for ngrx 4?

from angular-hmr.

dereklin avatar dereklin commented on May 13, 2024

@gdi2290 I will give it a try. In the meantime, I created this repo off the angular-webpack-starter a while ago: https://github.com/dereklin/ng-ws-ngrx-hmr. It's using ngrx 2. I plan to create a new one using ngrx 4 in the coming days

from angular-hmr.

Kaffiend avatar Kaffiend commented on May 13, 2024

@gdi2290 I can do a quick PR to explain NGRX 4.

from angular-hmr.

Kaffiend avatar Kaffiend commented on May 13, 2024

@dereklin @gdi2290 #66 has been issued to help explain ngrx4 usage.

from angular-hmr.

dereklin avatar dereklin commented on May 13, 2024

@Kaffiend Thanks for being super awesome.

The only thing I changed in my project is change type from:

ActionReducer<any, any>[]

to

Array<ActionReducer<any, any>>

to fix a tslint error

from angular-hmr.

Related Issues (20)

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.