ngrx-ngconf-2018's People
Forkers
angelinsky7 kattsushi jacobjojan makesnine gustavogutierrez konstantinspivak alayode gojay samjulien mohsinadeel ysscott2012 kr-ngrx nhurock tupoto ildafon rfxavier thomaswdean pinkatang mattwill09 dieumai96 chwegner ammatech kristinasino omarlo88 scssat xblue-light rashidarmand mohammedennekhli hoangphison connect2satyamngrx-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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.