Fork me on GitHub

Hello, all! I’m trying to use portal inside a cljs repl, and stumbled into an error that I ran into the first time I tried a couple of months ago and got stuck. In a cljs repl, I get this error:

(require '[portal.web :as p])
=> nil
(def po (p/open))

Execution error (TypeError) at (<cljs repl>:1).
Cannot set properties of null (setting 'onunload')
=> :repl/exception!
Any advice on how to fix? Thx!!


You might need to enable popups for the portal ui to work in the browser.


BTW this version of portal will not work with any installed extensions unfortunately 😢