Our Project: Wikipedia Search

In this section we will build an application that searches Wikipedia as the user types.

RxJS already makes retrieving and processing the remote data easy, but as you saw in Chapter 4, Building a Complete Web Application, we still need to jump through some hoops to make our DOM operations efficient.

One of the objectives of Cycle.js is to completely eliminate DOM manipulation from our code. Let’s look at the generated application code we have so far in src/index.js:

import​ { run } ​from​ ​"@cycle/run"​;
 import​ { makeDOMDriver, div } ​from​ ​"@cycle/dom"​;
import ...

Get Reactive Programming with RxJS 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.