News Feed · React

Meets all nine qualities of quality code

Description

A news feed over the live Guardian Content API: browse a section, search the whole paper, page through the results, refresh what you are looking at. One view, no login, no database — and no server of ours between the browser and someone else's API.

This is one of five upcoming implementations of the same framework-neutral specification, built with React, Angular, Vue, Svelte, and ExtJS. All five call the same API and behave identically — so they are directly comparable: one spec, five idioms; the four modern-framework ports share their boundary code byte for byte.

Try it

Pick a section, search for something, load a second page. The demo defaults to the Guardian's shared test key, which is rate-limited — when it trips you get the error state rather than a silent failure, which is rather the point.

Open this example in a new tab ↗

Main features