Question
IP Australia
AU
Last activity: 14 Aug 2024 5:54 EDT
Publishing a react component finishes successfully but the component is not updated correctly(with npm library) on the infinity 23 server
I am testing building custom react components using the React SDK for infinity 23. I tested building a basic template component which is publishing correctly and I can see the changes. However when I try to add an additional npm library e.g. react-photo-gallery (used to display a set of images in a galley style) to the page and publish the component, the component does not display the latest changes and appears to be still using the previous version. I have test the component locally using storybook and it display correctly. There are no errors on the publish log and it finishes successfully:
√ Validate config schema
√ Lint React component
√ Validate config schema
√ Lint React component
√ Bundle React component (dev build)
√ Update component map
√ Lint associated component
√ Map config to associated component
√ Bundle associated component (dev build)
√ Zip associated component
√ Publish associated component
√ Clean up associated
Success : Component successfully created in ruleset MediaCo:01-01-01
***Edited by Moderator Marije to add Pega Platform '23 product tags***