Implementing the Search Term in Cycle.js
Explore how to create a reactive search function in Cycle.js by using RxJS observables to capture user input, throttle requests, and query Wikipedia’s API. Understand how to transform event streams and integrate search queries into a reactive web app using the Model View Intent pattern.
We'll cover the following...
We'll cover the following...
We need a function that returns an Observable of URLs that query Wikipedia’s API using the search terms entered by the user:
First, we declare some URLs that our application will use to query Wikipedia. In the searchRequest function, we ...