Commits for this lesson: Main commit: https://github.com/LaravelDaily/Laravel-React-Course/commit/63f2b07cc663ce81f5498e79d1edcd02844eae5a Small fix: https://github.com/LaravelDaily/Laravel-React-Course/commit/6164f8bca01c7b1c21625eb5aeca60acaa6b26ed
Pagination does not retain the category, so I added
...this.state.query
to the query object when setting the state in pageChanged().