Decoupled Drupal 9 with React front-end using search
Andrew Fletcher published: 21 June 2022 1 minute read
How to make React calls on a Drupal 9 backend site using the search functionality
Tools
Drupal | 9.4 |
React |
The sample sent through from the front-end is as follows:
Adding icon and type elements to the JSON output for React frontend
Andrew Fletcher published: 21 June 2022 4 minutes read
Working on a decoupled React / Drupal 9 site.
Aim: Adjust the output of curated content for the Work Resources page. So the icon is displayed with a path. Enabling React developers to select whether to use the image or icon.
Tools
Drupal | 9.4 |
React |
Recently viewed pages
Andrew Fletcher published: 9 June 2022 3 minutes read
This code is from Drupal 9 back-end for a React front-end via REST API.
Working through the output for recently viewed pages... the code structure: