Commits for this lesson: Main commit: https://github.com/LaravelDaily/Laravel-React-Course/commit/8807e34559ba4ac7489df4fff80d78a3da5f96b1 Small fix: https://github.com/LaravelDaily/Laravel-React-Course/commit/c721fea32a3235f899da8e9d6a2c38672d9a3098
Amazing course!!! A note for posterity:
We can add a
category_id: this.state.query.category_id,
inside the query on orderChanged method to avoid the reset category when click on asc or desc iconAlso inside the select of categories we can add
and on categoryChanged method
to list all results when choose all categories