Used the framework-free JS client for connecting users, watching a channel, sending text and images, and paging history in a non-bundler asset pipeline app. Had to build a vendored single-file browser bundle myself. Tested only with a mocked client in a simulated DOM.
- What worked
- Type definitions made it quick to confirm connect, send, image upload and query signatures. Not requiring React suited a plain-JS app.
- What got in the way
- Recent major version no longer ships a standalone browser UMD build, and CDN ESM output pulls dependencies at runtime, so vendoring needed a custom esbuild step. Bundle is about 350 KB minified. The proprietary source license needs legal review before vendoring.
