Open in app

Sign In

Write

Sign In

John Crowson
John Crowson

122 Followers

Home

About

Published in ngconf

·Apr 11, 2020

A First Look at @ngrx/component

At NG Conf 2020, NgRx Core Team member Mike Ryan gave a talk titled “State of NgRx”. In it, Mike introduced the newest section of the NgRx family, NgRx View, which includes the @ngrx/component and @ngrx/router libraries. In this blog, we’ll look at @ngrx/component, which rethinks how change detection works…

Ngrx

5 min read

A First Look at @ngrx/component
A First Look at @ngrx/component
Ngrx

5 min read


Published in ngconf

·Apr 30, 2019

MockStore in NgRx v7.0

NgRx v7.0 included the released of a new @ngrx/store/testing module that features a mock Store to be used in testing NgRx applications. The module was introduced in #1027 with some documentation following in #1591. Note: You can use this API and functionality in NgRx v5 and v6 using the standalone…

Ngrx

4 min read

MockStore in NgRx v7.0
MockStore in NgRx v7.0
Ngrx

4 min read


Published in ngconf

·Feb 28, 2019

Filtering Types with Correct Type Inference in RxJs

A common use of the RxJs filter operator is to only allow or prevent certain types from being passed to the next pipe operator or subscribe function. const scrollEvents$ = router.events.pipe( filter(event => event instanceof Scroll) ); However, you’ll notice in the above snippet that scrollEvents$ is inferred to be…

Rxjs

4 min read

Filtering Types with Correct Type Inference in RxJs
Filtering Types with Correct Type Inference in RxJs
Rxjs

4 min read


Published in ngconf

·Feb 21, 2019

Robot Pattern: Maintainable Angular UI Tests

Motivation Angular is a fast evolving framework. At a similar pace, there is a growing set of tools to improve our usage of it, including UI tests. Although Protractor is the Angular designated UI testing framework, there has been excitement about Cypress. Most development teams who use one UI testing framework…

Angular

3 min read

Robot Pattern: Maintainable Angular UI Tests
Robot Pattern: Maintainable Angular UI Tests
Angular

3 min read


Published in ngconf

·Feb 20, 2019

Routing to Angular Material Dialogs

Many Angular developers chose to use Angular Material because it provides a huge set of components that reduce the complexity of building user experiences. One of my favorites has been the Dialog component. The default functionality provided by Material allows developers to launch a dialog by injecting the MatDialog service…

Angular

7 min read

Routing to Angular Material Dialogs
Routing to Angular Material Dialogs
Angular

7 min read


Jan 22, 2019

Building a Custom Navigation Scroller using Angular Router

Inspiration Angular Version 6.1 added the “Scroll Position Restoration” feature. It allows configuration of the scroll position on navigation. `ScrollPositionRestoration` has been added to the option of the second argument of `RouterModule.forRoot` method, usually imported in the App Module. It includes three options with the following functionality: * ‘disabled’ — does…

Angular

3 min read

Angular

3 min read

John Crowson

John Crowson

122 Followers

Angular & iOS developer. Engineer @ Apple 🔗: johncrowson.com

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech