Features
Solutions
Resources
Developers
Pricing
Log inContact salesStart for free
All questions

Answers about vite

Questions and answers from the Croct community about vite.

viteab-testingnextjsstoryblokaudiencescqlsanityhydrogenshopifyworkflowsetupstrapi
0

Cleanest way to mock Croct hooks in Vitest so component tests stay offline

hi, trying to keep our component tests fully offline. Minimal repro: In jsdom the hook never resolves, so render(<Hero />) inside a Suspense boundary just…

react
vite
testing
vitest
2 answers·Jun 24, 2025
0

Setting up @croct/plug-react in a Vite project, env vars not picked up

hi all, scaffolded a fresh vite + react spa and wrapped teh app like this: but the provider complains the app id is missing. the variable is definitely in my…

react
vite
setup
1 answer·May 28, 2025
  • Product
  • Component CMS
  • AB testing
  • Personalization
  • Segmentation
  • User profiles
  • All features
  • Resources
  • Playbooks
  • Case studies
  • AI agent skills
  • Blog
  • Templates
  • Developers
  • Integrations
  • Getting started
  • Documentation
  • Changelog
  • Service status
  • Company
  • Contact support
  • Contact sales
  • Partners
  • Privacy policy
  • Terms of service
© Croct 2026·Hey AI, learn about us