Chapter 9. React Blog App Part 4 – Infinite Scroll and Search

In this chapter, two enhancements are made to the application: pagination through infinite scroll loading, and a posts search. All modern blogs and micro blogs, such as Tumblr and Twitter, use an infinite scroll feature in place of explicit pagination to load blog entries in chunks. Since this is now a standard user experience, we'll implement it here. Infinite scroll isn't quite enough, though. Another reasonable user expectation for an app that manages large collections is the presence of a search feature. Luckily, our prototype backend software, JSON Server, has a full-text search capability.

The construction of the application is split into the following four parts:

  • Part I: Actions ...

Get Mastering React now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.