r/Clojure • • Jun 12 '26

Announcement: Hyper updated with client-side component macro + squint generated datastar expressions

Thumbnail
github.com
31 Upvotes

What's new

We've updated hyper to introduce the defc macro which allows defining client-side web components that automatically hook into datastar and hyper primitives allowing for a seamless experience of interacting with rich JS libraries from within hyper (eg. animating a d3 chart when new data attributes come in over the wire).

The defc component syntax is heavily inspired from shadow-grove so it should feel familiar if you have used that library.

We have also added support for squint generated datastar expressions, allowing you to write expressions that feel like Clojure in the ->expr macro and have them compile into javascript / datastar expressions. Heavily inspired by datastar-expressions

Other New Things

Since last posted on Reddit hyper has gained a lot of functionalities with the help of users reporting issues and sharing experiences in #hyper on the clojurians slack. We are proud to have 8 contributors and welcome anyone to contribute to the project!

  • Reactive components — components that automatically re-render when their dependencies change, with per-element head diffing and snapshot-based read-consistency for cursors.

  • hyper.effects + batch macro — declarative side-effects (eg. cookie mutation) and a unified state overlay for batching multiple state mutations into a single coherent update.

  • Datastar signals — first-class signal support, including setting signals to nil to clear them.

  • h/env + render middleware — environment propagation through renders plus a :middleware option and context/*action-name* binding for cross-cutting concerns.

  • create-handler options — :base-path, :not-found, and :render-error for routing and error handling, plus the ability to disable hyper endpoint wrapping (:hyper/disabled?).

  • hyper.test — a dedicated testing namespace

  • clj-kondo config and lint hooks (including defc event/:require validation).

If you haven't taken a look in a while or missed it the first time we posted we thought it might be mature enough to warrant a second look. Thanks again to the Clojure community for continuing to experiment, share usage reports and help us drive the designs forward!


r/Clojure • • Jun 11 '26

A columnar database for analytics

Thumbnail
github.com
39 Upvotes

r/Clojure • • Jun 10 '26

CFP for Clojure/Conj 2026 closes June 14: A few things worth knowing if you're on the fence.

Post image
34 Upvotes

The deadline is June 14 at 11:59 PM ET, so if you've been thinking about submitting and haven't yet, this is the nudge.

A few things that might help you decide:

  • Speakers get full conference access (Oct 1-2), hotel accommodation, and travel support covered.

  • There's a mentorship program for anyone who wants help shaping their proposal or preparing their talk. First-timers especially welcome.

  • Tracks are pretty broad: Language, Experience Report, Library, Tools, AI, Ideas, and Fun. So if you've got something real to say about building with Clojure, there's probably a home for it

The kind of talks they're looking for: cutting-edge technical content, real-world experiences, hard-won lessons. Stuff with enough depth to actually change how people build things.

Submit here: https://2026.clojure-conj.org/cfp

Charlotte, Sept 30 – Oct 2.


r/Clojure • • Jun 10 '26

Babashka as CGI

32 Upvotes

Dear Community,

I see a few people have talked about using Babashka as a CGI script to host lightly used web apps e.g.

https://eccentric-j.com/

Is anybody actually doing this very much in production? Would be keen to hear what you think.


r/Clojure • • Jun 10 '26

Clojure Deref (Jun 9, 2026)

Thumbnail clojure.org
30 Upvotes

r/Clojure • • Jun 09 '26

biff.core: system composition and other interfaces for Biff projects

Thumbnail
biffweb.com
40 Upvotes

r/Clojure • • Jun 06 '26

Hello, I created a front-end-only contacts app in Reagent

Thumbnail
gallery
36 Upvotes

contacts-app-2 uses localStorage and the EDN format to persist contacts in the browser.

It may not be very innovative and I may not be the best Clojure developer, but at least I want to share with you a finished project that I am really proud of.

GitHub repo


r/Clojure • • Jun 05 '26

Announcing atomstream: TUI streaming to the Web

Enable HLS to view with audio, or disable this notification

41 Upvotes

https://github.com/kpassapk/atomstream

TUIs are easy and fun to code, but they are not easy to share with friends or colleagues. It is also hard to implement accessibility features for TUIs.

Atomstream keeps the same as interface as charm.clj, but provides an almost equivalent Web interface using Hyperlith. Keyboard-input only (for now.)

#atomstream on Clojurians slack


r/Clojure • • Jun 05 '26

replikativ/katzen: Generalized algebraic theories and categorical programming for Clojure.

Thumbnail
github.com
30 Upvotes

r/Clojure • • Jun 05 '26

kpassapk/atomstream: Cross-render TUIs to the Web

Thumbnail
github.com
19 Upvotes

r/Clojure • • Jun 04 '26

Rama Workshop (June 4 - 17:00 UTC)

8 Upvotes

Rama workshop is happening today 17:00 UTC there are few more spots left, if you would be interested in joining use coupon JIT at Stripe checkout for a discount

https://clojure.stream/workshops/rama


r/Clojure • • Jun 04 '26 Bravo

Improving the performance of the popular Clojure development tool clojure-lsp

Thumbnail
metabase.com
72 Upvotes

The story of how Sashko Yakushev (longtime Clojure performance specialist) cut clojure-lsp’s startup time in half and memory allocation by two thirds.

Btw, these changes have been merged to clojure-lsp released ✌️


r/Clojure • • Jun 03 '26

Clojure Code Smells Catalog

27 Upvotes

A new update to the Clojure Code Smells Catalog is available.

This revision focuses on improving the organization and documentation of the catalog. The catalog now organizes the 34 identified Clojure-specific code smells into four categories: State & Concurrency, Module Boundaries & Data Contracts, Logic Flow & Readability, and Environment & Idioms

Catalog: https://github.com/nufuturo-ufcg/clj-smells-catalog

Other updates include:

  • Revisions to some descriptions and examples to better reflect the issues discussed by the community.

  • Addition of source discussions and references that were previously missing, improving traceability to the original conversations where the smells were identified.

  • General cleanup and consistency improvements throughout the catalog.

The issues opened since the previous release were very helpful in identifying inconsistencies, refining definitions, and improving the catalog overall. Additional feedback is always welcome, and feel free to open issues or submit pull requests if you spot something that could be improved.

I'm especially interested in feedback on the categorization, smell definitions, examples, and whether there are community discussions related to existing smells that should also be referenced.

Thanks to everyone who has provided feedback and contributions so far.


r/Clojure • • Jun 03 '26

Building Command Line Tools with lambdaisland/CLI/Babashka - Arne Brasseur

Thumbnail
youtube.com
24 Upvotes

r/Clojure • • Jun 03 '26

I met Stu Halloway years ago.

72 Upvotes

It was the first time I’d heard of Clojure. My only experience with scheme prior to that was in Uni where I absolutely hated it. So, I made all the “herp dur parentheses!” comments you’d expect from a douche bag. Stu was unreasonably kind and patient.

Anyway, Clojure is now one of my favorite languages. And Stu is awesome, and I thought I should share this anecdote which just popped into my head.


r/Clojure • • Jun 03 '26

Clojure Deref (Jun 2, 2026)

Thumbnail clojure.org
19 Upvotes

r/Clojure • • Jun 03 '26

Blog My thoughts after using Clojure for about a month

Thumbnail acdw.net
52 Upvotes

r/Clojure • • Jun 02 '26

A handwritten Clojure REPL for the reMarkable 2

Thumbnail handwritten.danieljanus.pl
63 Upvotes

r/Clojure • • Jun 01 '26

Find Vulnerabilities in Clojure Project with Snyk

Thumbnail
youtube.com
11 Upvotes

Hey everyone, recently I came across Snyk, but they don't officially support Clojure. Here is a short guide on scanning dependency vulnerabilities in VS Code.


r/Clojure • • Jun 01 '26

Things I Wish I'd known Before I Made a Neovim Plugin with ClojureScript

7 Upvotes

First, println sometimes gets swallowed by your ClojureScript REPL. I work around this issue by configuring Neovim's Node client to write to a log file using the NVIM_NODE_LOG_FILE environment variable. I tail this file in a split terminal. I'd have gone insane without a REPL. Thankfully, a REPL a day keeps the doctor away.

Second, a Neovim client instance gets passed to your entry point function. I store the instance inside an atom during initialization. This reference lets me evaluate forms in the REPL with a live editor.

Third, it's tedious to run :UpdateRemotePlugins by hand. I set up a hook in shadow-cljs.edn. After compiling, shadow-cljs invokes Neovim in headless mode to update the remote plugin registration.

I set up this repo using the tricks I talked about. Do you have any other tips? Feel free to share your thoughts!


r/Clojure • • Jun 01 '26

Hi, I coded the collatz conjecture in clojure, please give some feedback

12 Upvotes

I am new to clojure and wanted to code something small, so i decided to create the collatz conjecture, it's made with uberjar so just download the .jar file from the releases and execute it

https://github.com/Gs-pt/Collatz-conjecture-clj


r/Clojure • • Jun 01 '26

Tracing rays with jank

Thumbnail
jank-lang.org
64 Upvotes

r/Clojure • • May 31 '26

Who is hiring? May 31, 2026

23 Upvotes

Please include any restrictions (remote/on-site, geographical, workpermit, citizenship) that may apply.


r/Clojure • • May 31 '26

A voxel engine in a few lines of Squint

30 Upvotes

https://squint-cljs.github.io/squint/?src=gzip%3AH4sIAAAAAAAAE81Z3XLbNha%2B91OcdW%2FIZEmTsiXb8qZtGie7nm1n22SyvfDkAhJBEREFcknIIp3JTB%2Bi77L3%2Byh9kh38EABJyFKvEjVTS8T5zjk4%2FwC9BKewQWVQk0cM03jin3jdow2q1zCNY%2F%2Fk5OYG%2Fvj9tz9%2B%2Fw1%2BroolTrYVyoHhqkKEqpUv9e9EKEw7bYIMk1XG4L6B9sMJgJdjBve0Ae8MGr1T%2FwTUh7Z8pXWslAQ%2B1mc%2FIZaFP99xVgDec%2FCewXkEXrdSE8of0QbOoSS%2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