You are looking at the documentation for the old version of Stitch.js (v1).Stitch.js (v3) was recently released and is now the recommended version of the SDK.This change includes a new API, compatibility with additional frontend frameworks (Next.js, React, Native, etc), improved performance, and additional features.v3 also introduces a number of breaking changes. Please see v3/update-guide for more information.The v1 Web Component is in maintenance mode and will no longer receive updates (outside of security fixes).
Please update your code to use the new version.