bloomreach / spa-sdk

Apache License 2.0
15 stars 16 forks source link

Delivery API 0.9 to 1.0 Components not showing up #37

Open linkhat29 opened 2 months ago

linkhat29 commented 2 months ago

Hello,

I'm currently working on a react project with @bloomreach/react-sdk": "14.5.0" and "@bloomreach/spa-sdk": "14.6.0" and BloomreachXM 14.7. I'm in the process of updating the code to work with Delivery API 1.0.

I'm having an issue where I'm not seeing some of the components on the site as they used to show such as the header and menu components.

For other components I see "Component "COMPONENT_NAME_HERE" is not defined" on the website page itself rather than just nothing showing up.

I'm assuming that there is a problem with the connection from the Delivery API and the mapping in App.tsx we pass to BrPage. I do see the components showing up in the delivery api json and we still have those listed in our mapping.

I don't see any console errors so I'm not entirely sure on the issue but is there anything with regards to mapping we need to change perhaps or is another reason the components might not show up?

Thanks!