February 2018
Intermediate to advanced
320 pages
7h 40m
English
First, we will delete the placeholder return. We want to transform the searchText into an array of repositories. We should point out that the unauthenticated GitHub API we are using has a rate limit of 10 requests per minute. We will use the throttle operator here to only take the latest element received through the specified time. This will prevent triggering multiple network requests in rapid succession. We will also use the distinctUntilChanged operator, which will allow only unique contiguous elements to pass through. As the change to text in searchText triggers the operation in this app, this is not necessary here, but we have Search button so that the user can click on the button to explicitly initiate ...
Read now
Unlock full access