Answers about dx
Questions and answers from the Croct community about dx.
Does Croct work under a strict Content-Security-Policy?
We run a strict CSP, no unsafe-inline anywhere. The last visual testing tool we evaluated required inline script injection for its variants, which would have…
Worth adding preconnect hints for cdn.croct.io and api.croct.io?
Doing a resource-hints pass on a client site. Lighthouse flags third-party origins without preconnect. Which hosts does the Croct SDK actually talk to, and…
What do visitors on slow 3G see while personalized content loads?
Hello, I build for an audience in Nairobi where a large share of sessions arrive on slow or unstable connections, so I test everything throttled to slow 3G in…
How do I keep a long audience expression readable for the next person?
I review audience definitions our growth team writes, and this week I found a six-clause condition with the same string fragment repeated in four places. It…
How does the audience estimator return counts instantly while I type?
Purely a curiosity question! I was editing an audience today and noticed the live estimate updates basically as fast as I can type new conditions. I do this…
Best practice for choosing server-side vs client-side content rendering?
I am standardizing a Next.js starter template for our agency and want to settle on a sensible default before we roll it out across client projects. Croct…
Combining sanity typegen with the generated slots.d.ts, one type system or two?
We use sanity typegen to type all our GROQ results, and now the Croct CLI has generated a slots.d.ts in the repo. So I have two generated type sources…
Ad blockers are blocking Croct requests, how do I keep evaluation working?
Seeing this in devtools with uBlock enabled: Looks like an EasyList rule. How are people routing around this, is there a supported setup or does everyone just…
Ran a render-blocking audit, why does Croct not show up at all?
I audit third-party tags for clients as part of technical SEO work, and one of my checklist items is finding the testing tool's snippet in the critical path,…