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-testingstoryblokshopifynextjssanityaudienceshydrogenworkflowstrapicqlsetup
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
  • Solutions
  • Customer acquisition
  • Lead generation
  • Geo-targeting
  • Revenue growth
  • Paid search traffic
  • Social ads traffic
  • Resources
  • Documentation
  • Changelog
  • Playbooks
  • Templates
  • Blog
  • Partners
  • Company
  • Service status
  • Contact support
  • Contact sales
  • Case studies
  • Privacy policy
  • Terms of service
© Croct 2026