When the point is testing your fetch, loading state or pagination, not the data itself, JSONPlaceholder hands you a ready API: 100 posts, 500 comments, 100 albums, 5000 photos, 200 todos and 10 users, with relations like /posts/1/comments and query string filtering. That is why it shows up in so many tutorials.
The trap is about expectations. POST, PUT, PATCH and DELETE respond as if they worked, but nothing is written on the server. Creating a post returns a new id, and fetching that id right after gives a 404. If you do not know this, you waste time hunting a bug in your own code.
For a prototype that needs persistence, the same author (typicode) maintains json-server, which is what powers JSONPlaceholder: point it at your own JSON file and get a local REST API in seconds. And for automated tests, a local mock (MSW, for instance) beats depending on an external service that can slow down or go offline mid-CI.