Send new requests from refresh clicks in RxJS
lessonDuration 5m 7s
In this lesson we learn how to fetch new data whenever the refresh button is clicked. This lessons starts to give us a feeling of how is it to develop reactive applications in RxJS.
Browse
Find courses, lessons, articles, talks, and podcasts.
7,176 resources
Showing 4,801–4,824 · Page 201 of 299
lessonDuration 5m 7s
In this lesson we learn how to fetch new data whenever the refresh button is clicked. This lessons starts to give us a feeling of how is it to develop reactive applications in RxJS.
lessonDuration 5m 22s
Learn how to take data from a network response and display it on the DOM using RxJS reactive event streams.
lessonDuration 7m 14s
In this lesson we start building a small UI widget: suggestions box displaying users to follow in Github. We will learn how to perform network requests to a backend using RxJS Observables.
lessonDuration 4m 36s
See a practical example of reactive programming in JavaScript and the DOM. Learn how to detect double clicks with a few operators in RxJS. We will use `.bufferWhen` to accumulate events into an array to determine if a double click occurred.
lessonDuration 4m 31s
This lesson introduces Reactive Programming using RxJS in simple terms, with a concrete example and no scary terminology.
lessonDuration 2m 42s
We all know this. You’re working on some new feature and you have lots of “work in progress”. Then an urgent issue comes in, you have to jump onto the master and apply a hotfix. In this lesson we will learn how to temporarily store your current changes s.t. you can switch the current branch and come back later to resume your work again.
lessonDuration 1m 9s
If we pushed our changes already to the remote repository we have to pay attention to not change the git history (using commands like rebase, reset, amend etc). Other collaborators of the same repository might already have pulled your changes, thus resulting into horrible, strange merge conflicts if we change the git history. There are some “safer commands” for undoing in such cases.
lessonDuration 1m 12s
If you want to permanently remove a commit from your branch we can use the `git reset` feature. Let’s have a look.
lessonDuration 1m 43s
When you accidentally committed some changes to your branch you have various possibilities to “undo” that operation and add some more changes. One is to use `git amend` to change the commit message or add new files. But what we want to take out all of the committed changes again and maybe even split them into separate commits. Let’s see how we can achieve that. _Note: This only holds if you did not yet push your changes to the remote repository_
lessonDuration 1m 28s
You committed your work to the repository and just realized that you’ve forgotten to include some of the files. Let’s see how we can fix that by leveraging `git --amend` to include the missing files as well. _Note: This only holds if you did not yet push your changes to the remote repository_
lessonDuration 1m 5s
Did you make a typo in your last commit message? No problem, we can use the `git --amend` command to change it very easily. _Note: This only holds if you did not yet push your changes to the remote repository_
lessonDuration 1m 15s
Often you have your feature branch you’ve been working on and once it’s ready, you just want it to merge into master as a single commit. You don’t care about all the single commit messages as they may not be relevant. There’s a nice “autosquash” feature in git which we’ll use in this lesson.
lessonDuration 4m 28s
We work on our feature branch and commit a lot, also knowing we’ll have to do an interactive rebase to clean up our history once we’re done. Well, we could also automate that cleanup step to some degree, using Git’s autosquash feature. Let’s have a look.
lessonDuration 2m 54s
It is a good practice to commit as often as possible while you work on your personal feature branch. That helps you trace your changes as well as to have a backup to jump back to in case something goes wrong terribly. However such git branches with dozens of commits (that may not make sense) are hard to merge and review. In this lesson we’re using an “interactive rebase” to adjust our git history.
lessonDuration 2m 29s
When you update your local feature branch using `git rebase`, you’re rewriting the history. As such, when trying to update your remote branch counterpart using `git pull` you will be rejected. In this lesson we’re going to have a look how to use the `--force` and `--force-with-lease` to force an update of the remote branch.
lessonDuration 2m 33s
Usually when you develop on some feature, you create a dedicated branch that starts from your main development line, usually `master`. However, the longer you work on your feature branch, the bigger the final merge will be. In this lesson we’re going to take a look at how you can regularly update your feature branch with the latest changes by using `rebase`.
lessonDuration 2m 35s
Gosh no, I just added all of these commits to master. They were thought to be peer reviewed first in a dedicated branch! No worries, in this lesson we’re going to see a couple of commands that will help you move your commits into a dedicated feature branch. > Note: This only holds if you did not yet push your changes to the remote repository
lessonDuration 4m 44s
We will learn about “thunks”—the most common way to write async action creators in Redux.
lessonDuration 1m 49s
We will learn how to avoid the boilerplate code in mapDispatchToProps() for the common case where action creator arguments match the callback prop arguments.
lessonDuration 2m 34s
We will learn how to reduce the syntactic noise in the action creators and components when using arrow functions.
lessonDuration 4m 13s
We will learn how to start a Redux app with a previously persisted state, and how it merges with the initial state specified by the reducers.
lessonDuration 1m 43s
We will learn how to add React Router to a Redux project and make it render our root component.
lessonDuration 2m 58s
We will learn how to use withRouter() to inject params provided by React Router into connected components deep in the tree without passing them down all the way down as props.
lessonDuration 8m 44s
We will learn how we can generalize wrapping dispatch() for different purposes into a concept called “middleware” that is widely available in the Redux ecosystem.