Home > @uniformdev/canvas > ChannelSubscription

ChannelSubscription type

Pusher-js is large (80k) and not tree shakable so it is always bundled if directly referenced, when it's only needed during preview mode. To avoid bundling it for all, we use an old-school write-a-script-tag hack to load it in a poor man's approximation of a dynamic import ;)

Signature: