The idea of WordPress isn't state of the art anymore. One can argue if it ever was, but it's safe to say that it isn't so today.
From the end-user perspective, it might be still some no-code solution. But there are better solutions on the SaaS market out there if you need the type of service.
The modern web developer should avoid WP. In times of SaaS, headless, and cloud-native there's no reason left to install a pretty static and insecure CMS, which was designed to manage posts and comments. Creating more complex data relations is a tricky business in WP.
WP added a headless API, and there is GraphQL support available but it still
the system is legacy at the moment you install it.
Modern headless CMS like Contentful or Strapi for example will do the job better, by providing a separation of data model and content, while giving you full control over it; without the need for keeping a plugin-fest.
Of course, you need a separate frontend like a SPA. But in my own experience, I can tell you will be faster to develop with a modern composed front-end approach like react or vue, combined with a state-of-the-art headless CMS. Not only faster, but the overall quality, security, and maintainability will also be better, as well. And not to forget, this approach makes it well possible to work in a team and utilize CI/CD by default, which is not that smoothly possible in WP.