Answers about versioning
Questions and answers from the Croct community about versioning.
What version syntax can I use for slots in croct.json5?
ours has a plain "3" for a couple of slots and I want to know what else the version field accepts. Can I give a range, or a list of specific versions? And…
A content publish broke our prod build, was it because we did not pin the slot version?
Someone on the content side published a schema change to a slot and our Next app immediately started getting content that did not match our types. Here is…
Can I use the PHP SDK on a plain PHP app with no framework?
Legacy app here. Plain PHP, no Laravel or Symfony anywhere and no plan to add one. I want to render one personalized slot server-side. Every example points at…
Should I pin slot versions in my Hydrogen loaders or is @latest fine?
Going through our loaders and I noticed some of our slot ids have no version suffix, just the plain id. That worries me a bit. If a content editor publishes a…
Orange dot warning in the editor and preview shows default content
hi everyone, I do react work at a small agency. I published a new version of our hero component (added a badge field) and now teh editor shows an orange dot…
Keeping Croct component schemas in sync with our design system
I maintain our design system and its Storybook, and we ship changes to it roughly monthly: new props, renamed variants, occasionally a breaking change to a…