Currently while developing components, we can only preview them locally with mock data and a component on its own.
We don't have the ability to preview the components directly on remote or together without pushing a component live and set them on a page, this leads to having multiple redundant versions just to change a few words or lines.
While this is only relevant during the final stretch of a component's development, it's nevertheless inefficient to have multiple versions with minor edits that would've been tracked by git anyway.
My suggestions for some things to add to make developing components smoother:
  • Previewing on live instance without new version: something a single "develop" version that can be enabled within the DXP Console.
  • Cross-component local preview files: a cause of the issue is that local previews can't use local files or share previews. We work around this by having the preview wrappers be generated with remote assets and also use inline JS/CSS for the components. If we can create local assets just for preview, it'll greatly increase the accuracy of local preview and also less redundant codes packages.
But if these already worked and I missed it from reading the documentations, please let me know.