nowfound

Dev tools · November 22, 2024

AD

A data oriented TodoMVC using Replicant

Data oriented. It's been a theme throughout my rather long career. Especially the last five or so years, when I've been using Clojure in anger. But even with Clojure there are a lot of not fully data oriented ways of doing things. Building frontends (which I do for a living) has been particularly tricky to keep as data oriented as I wish. Enter Replicant https://github.com/cjohansen/replicant Replicant is one of those libraries which make you say “I can't believe this is not React”. But it really isn't React. It brings 90% of the benefits of React, without bringing in…

In plain words

A TodoMVC example built with Replicant, a data-oriented frontend library for Clojure. Replicant is designed for developers who want React-like functionality without the ecosystem complexity, offering zero dependencies and a focus on data-driven architecture. This example demonstrates how to build a todo application using Replicant's approach to managing state and UI rendering in a simple, data-first way.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Data oriented. It's been a theme throughout my rather long career. Especially the last five or so years, when I've been using Clojure in anger. But even with Clojure there are a lot of not fully data oriented ways of doing things. Building frontends (which I do for a living) has been particularly tricky to keep as data oriented as I wish. Enter Replicant https://github.com/cjohansen/replicant Replicant is one of those libraries which make you say “I can't believe this is not React”. But it really isn't React. It brings 90% of the benefits of React, without bringing in that whole world of churn and not-so-data-oriented ways of doing things. Replicant has zero dependencies. It is created by Christian Johansen, a developer as data oriented as they come. To get where Replicant, and this TodoMVC example, comes from, have a watch at Christians JavaZone Oslo 2023 talk, Stateless Data-driven UIs https://2023.javazone.no/program/85f23370-440f-42b5-bf50-4cb... As Replicant is a library, and not a framework, there are as many ways to use it to build TodoMVC as there are developers. This example takes inspiration from my previous favorite UI libraries, Reagent and re-frame, from which I use what I think are their best ideas. The example implements a tiny (less than 50 loc) framework and then leverages that to create perhaps the most data oriented TodoMVC ever (I am expecting to be shown a lot of examples that are as, or more, data oriented). The unit tests in the example take advantage of this and test things that you normally need to bring in browser drivers to test. The example is finished, but the tests are work in progress (about 30% done, I think). I've tried to make the example super easy to clone and play with. And I've tried to make the README be clear and useful to understand the example and what's unique with it. Please give it a spin and tell me what you think! If you want to help with test coverage, that would be awesome too.

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 2d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, November 2024

the whole month →
  • Lovable1,481

    The world's first AI Full Stack Engineer

    AI · 2024 · lovable.dev

  • Superchat1,432

    AI Agents for WhatsApp Business, Instagram & Co

    Growth · 2024 · superchat.com

  • Postiz1,195

    Your ultimate AI social media scheduling tool

    Dev tools · 2024 · postiz.com

  • IB

    I wasn't quite sure if this qualified as "Show HN" given you can't really download it and try it out. However, dang said[0]: > If it's hardware or something that's not so easy to try out over the internet, find a different way to show how it actually works—a video, for example, or a detailed post with photos. Hopefully I did that? Additionally, I've put code and a detailed guide for the netboot computer management setup on GitHub: https://github.com/kentonv/lanparty Anyway, if this shouldn't have been Show HN, I apologize! [0]…

    Dev tools · 2024 · lanparty.house

  • Fast, light, and frictionless note-taking

    Work · 2024 · raycast.com

  • Cap1,047

    Beautiful screen recordings, owned by you. 100% open source.

    Dev tools · 2024 · cap.so