Completing a Stream with TakeWhile
lessonDuration 1m 19s
When you need to total up everything that has happened in your stream, you need to a way to tell your stream that it is “done”. This lesson covers how to use `takeWhile` to complete a stream.
Browse
Find courses, lessons, articles, talks, and podcasts.
7,176 resources
Showing 6,409–6,432 · Page 268 of 299
lessonDuration 1m 19s
When you need to total up everything that has happened in your stream, you need to a way to tell your stream that it is “done”. This lesson covers how to use `takeWhile` to complete a stream.
lessonDuration 5m 51s
Promises in JavaScript (es6/es2015). Creating and using promises with ECMAscript 2015 in your JavaScript application.
lessonDuration 1m 6s
While frameworks like Angular 2 and CycleJS provides great ways to update the DOM and handle subscriptions for you, this lesson shows how you can still do basic subscribe blocks and manually update the DOM on your own.
lessonDuration 2m 4s
When you complete a stream, there’s no way to restart it, you must resubscribe. This lesson shows how `repeat` comes in handy to resubscribe after a stream has completed.
lessonDuration 4m
A stream will run with each new subscription added to it. This lesson shows the benefits of using `share` so that the same stream can be shared across multiple subscriptions.
lessonDuration 1m 34s
To help understand your stream, you’ll almost always want to log out some the intermediate values to see how it has progressed during its lifespan. This lesson teaches you how to use `do` to log values in the middle of the stream without having an impact on the rest of the stream.
lessonDuration 1m 21s
When a stream has completed, you often need to evaluate everything that has happened while the stream was running. This lesson covers how to use `reduce` to collect values and total up a “score” of this simple game.
lessonDuration 2m 17s
This lesson shows why it’s preferable to using `withLatestFrom` instead of `combineLatest` in certain scenarios.
lessonDuration 1m 46s
By default, Inputs will push input events into the stream. This lesson shows you how to use `map` to convert the input event into the text you actually want.
lessonDuration 3m 8s
Two streams often need to work together to produce the values you’ll need. This lesson shows how to use an input stream and an interval stream together and push an object with both values through the stream.
lessonDuration 1m 1s
Often you only want values to proceed through your stream if they meet certain criteria, just as if you were using an `if` statement in plain JavaScript. This lesson shows you how to use `filter` on your stream to only push the values that you need through your stream.
lessonDuration 1m 56s
Learn how to install Angular Material with `npm install` and load the required libraries and stylesheets into your blank web page. > This course has been created by Thomas Burleson and Aaron Frost
lessonDuration 4m 34s
Angular Material UI components have been designed from the ground-up to use dynamic, live data. Supporting AngularJS interpolation, expressions, and databindings… each component exposes an intuitive API and fully supports the existing ng-<xxx> directives published in AngularJS. Let’s replace the hard-coded, static HTML with dynamic, mock data using AngularJS data bindings, ng-repeat, and the ng-click directives. Our UX remains unchanged, yet now we are using custom application logic and dataservices. > This course has been created by Thomas Burleson & Aaron Frost.
lessonDuration 2m 57s
Angular Material provides over 30 UI components and services. The framework offers a suite of components and containers: from simple Button components with built-in ink and hover effects, theming, and ARIA support… to more complex container components like mdList and Tabs. Let’s use some of those components in our SideNav and Content containers. For now we will use hard-coded, HTML markup. This allows us to confirm the UX matches that specified in the design docs before we start working on our application logic. > This course has been created by Thomas Burleson and Aaron Frost.
lessonDuration 5m 43s
Both flexbox CSS and the Angular Material Layout allow web applications to `respond` to the size of the browser at any given point. No matter what the browser width may be, the web app adjusts its layout sizing accordingly. Combine responsive functionality with media query support and your web applications will have `adaptive` features to adapt to the width of the browser at a specific points. More than fluidly adjusting the widths and heights of elements, Adaptive applications can change the rendered UX with new positions, new components, and new styles. Angular Material Layout hides the complexities of implementing adaptive features with a singularly unique and simple HTML syntax. Let’s use the Adaptive extensions of the Angular Material API to hide the SideNav on small devices (like iPhone or Android). We will explore the use of the $mdMedia service to easily lock open the SideNav on larger devices. And we will see how the $mdSideNav service can be used to programmatically close the SideNav after a user is selected. > This course presented by Thomas Burleson and Aaron Frost.
lessonDuration 7m 3s
Most Angular Material UI components are declarative and used directly in the HTML markup. Some components, however, are programmatic and must be configured and invoked from Javascript. Programmatic components have a short-term, limited DOM lifespan and include Dialogs, Toast, and BottomSheet. Let’s use the BottomSheet service to configure and display an Angular Material BottomSheet container which in turn will display a nested, custom Contact Sheet view. > This course presented by by Thomas Burleson & Aaron Frost.
lessonDuration 3m 33s
Themes convey meaning through color, tones, and contrasts. And the theme color palettes, alphas, and shadows deliver a consistent tone to your application and a unified feel for all Angular Material UI components. Theming allows developers to change the intention and meaning of the application by changing the colors and shadows. Accessibility is a huge - often overlooked - feature in modern web applications. Angular Material components all implement ARIA features whenever possible. And for usage scenarios where the ARIA attributes are not explicitly provided and cannot be inferred, then Angular Material will provide details console warnings alerting the developer. Let’s use the Angular Material Theming service to change the background, primary, accent, and warning colors used within the entire application. These will be configured at startup using the $mdThemeProvider. Let’s also resolve the two ARIA warnings shown in console. These originate from icon buttons where the ARIA label cannot be inferred. So let’s add a static aria-label and a dynamic, interpolated aria-label to those buttons. > This course presented by Thomas Burleson and Aaron Frost
lessonDuration 3m 40s
The Angular Material Layout API wraps the flexbox CSS features with an amazingly easy, powerful HTML markup API. The Layout API hides the complexities of the CSS, is intuitive to use, and eliminates the need for developers to become flexbox experts to implement modern page layouts. In this lesson we will learn how to use the Angular Material Container components and the Layout API to implement the layouts specified in design wireframe. > This course has been created by Thomas Burleson and Aaron Frost.
lessonDuration 4m 44s
Refactoring streams in RxJS is mostly moving pieces of smaller streams around. This lessons demonstrates a simple refactoring by requiring the StopWatch to be more configurable.
lessonDuration 1m 13s
Let’s look at the GitHub commits and list of contributors now that our pull request has been merged. And we’ll wrap this series up with a few tips. Feel free to practice on [stack-overflow-copy-paste](https://github.com/eggheadio-github/stack-overflow-copy-paste), and see the Pull Request demonstrated in this lesson [here](https://github.com/eggheadio-github/stack-overflow-copy-paste/pull/9).
lessonDuration 2m 53s
Often, project maintainers prefer that a single pull request be represented by a single commit. It makes the git history cleaner and easier to understand. So before your pull request is merged you’ll want to do an interactive git rebase to squash all of your commits and fix your commit message.
lessonDuration 3m 39s
Sometimes your Pull Request can fall behind master in a repository and occasionally that will result in merge conflicts which you have to manage yourself. In this lesson we’ll learn how to use `git rebase` to update our pull request branch to the latest version of master and resolve merge conflicts with git.
lessonDuration 2m 57s
Once you’ve made your code updates locally, all you need to do is commit those changes and push that commit to your Pull Request branch. In this lesson we’ll also talk about how to skip git hooks that may be included in the project when you just need help.
lessonDuration 2m 21s
It’s not often that you’ll get a Pull Request on GitHub just right the first time you try. You generally will iterate with the project maintainer on your solution before your PR gets merged. In this lesson, we’ll explore some of the tools that projects use to manage contributions to open source projects on GitHub.