Giter VIP home page Giter VIP logo

ngrx-ngconf-2018's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ngrx-ngconf-2018's Issues

Persiting auth state

Hi Brandon, just watched you ngconf talk on Auth, I was wondering what do recommend for handling User data on browser reload, as in the demo State is lost and the User is logged.

Would storing the User data in Local Storage be the best practice then rehydrating the data in the Store?

ng test does not work with jest

Hi Brandon,

I've been going through multiple examples of Angular CLI projects that use Jest and it seems that in every case it breaks the CLI's built in ng test with Karma functionality because certain methods added via jest are undefined with karma; e.g.

Property 'toMatchSnapshot' does not exist on type 'Matchers<ComponentTestFixture<LoginPageComponent>>'

I am a bit reluctant to stray too far from what the Angular team is using, working on a large project, however; I cannot find any current, pure Jasmine-Karma examples for testing ngrx and I am unable to see a way forward using both testing suites. The ngrx platform example seems to be the same, where there isn't really a clear way to unravel the jest pieces from the tests to strictly implement Angular's supported test suites.

Am I correct that jest cannot be integrated into a project without breaking ng test?

Suggestion:
If there was work on opening up testing with a built in option directly inside the CLI, something like below, that would be awesome!

        "test": {
          "builder": "@angular-devkit/build-angular:jest",
          "options": {
            "main": "src/test.ts",
            "config": "./jest.conf.js",

Thank you for the examples, btw!

ofType error in '@ngrx/effects'

Hi Brandon, I just watched your talk on ngconf on auth.
I am trying to use your code and build auth with ngrx. but i am unable to get ofType in '@ngrx/effects' module. please help how to get ofType.

thanks.

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.