Skip Go Widget
Web Component
For non-React applications, the Skip Go Widget
is available as a web component.
Installation
You can import the web component in two ways:
1. NPM
Note: Ensure Node has sufficient memory allocated: CopyNODE_OPTIONS=--max-old-space-size=32384
This can be added to npm scripts in package.json
, a .env file
, or used when running Node directly.
2. Script Tag or CDN (Recommended)
Usage
Props are the same as WidgetProps
, but passed as attributes in kebab-case. Use strings or stringified objects for complex props.
Performance Considerations
It’s recommended to lazy load this component as it comes pre-bundled with all dependencies, which may impact load times, especially in development environments.