Category "headless-cms"

WpGraphQL query returns null

I'm having this GraphQL query from headless Wordpress in Nexjs via WpGraphQl plugin: export const GET_POSTS_BY_CATEGORY_SLUG = gql` query GET_POSTS_BY_CATEGORY

React function based component wont return component inside nested map function

I am trying to output different components based on the inputType, however the component or anything that goes into the DOM does not render (aka console.logs fi