squint

john 2026-04-04T16:28:42.657469Z

How would squint libs work with CLJS libs? Could you publish a squint lib to npm and then consume that from CLJS as a regular JS lib? And then what would interoperability look like calling into the squint lib from cljs? Wondering if you'd want to make a lightweight lib with squint and then offer it to the CLJS ecosystem in some situations, where you might want to be outside the Closure compilation for the lib...

john 2026-04-04T19:24:30.063649Z

Doing a little research, it looks like squints data abstractions wouldn't not work across lib, unless you're not using collections. Maybe something like cljs-bean could bridge them...

borkdude 2026-04-04T22:13:05.813679Z

> Could you publish a squint lib to npm and then consume that from CLJS as a regular JS lib? I'd say so yes

borkdude 2026-04-04T22:13:24.849149Z

Interop would look like interop-ing with any other JS lib

borkdude 2026-04-04T22:13:53.213559Z

I have several projects that are both squint and CLJS compatible so you have benefits of both worlds

borkdude 2026-04-04T22:13:56.918959Z

Reader conditionals you know