playback icon indicating copy to clipboard operation
playback copied to clipboard

Requiring portal.web doesn't work in clojurescript/node

Open farcaller opened this issue 2 years ago • 1 comments

playback.core requires portal.web if it's running under cljs: https://github.com/gnl/playback/blob/master/src/playback/core.cljc#L20. This immediately crashes nodejs runtime as it's missing the window global.

There needs to be some alternative that allows to use portal.web even in cljs.

farcaller avatar Mar 16 '24 13:03 farcaller

Yup, it's not node-compatible yet, looking into it for the next release. The goal is to eventually support everything Portal supports, and node's the only one that's still missing.

gnl avatar Mar 16 '24 15:03 gnl