I’m planning to implement a headless Drupal 8 with a SPA using React. I’ve been looking through articles on this subject but have found that most of them are just describing how I can pull data off from Drupal’s API services.
However, I don’t understand how should the links of pages and blog posts work in my headless Drupal application?
In a regular Drupal site, when I create a blog post, the system will create a friendly URL like “www.mydomain.com/articles/my-post-title”. When I’m creating the frontend through a view library such as React, that URL is likely not going to work because that will route the user away from my SPA site but to the Drupal page instead.
If I want the friendly links to work with my React frontend, how should I approach this in my implementation?