Janus: Easy Complex UI with Declarative FRP by Issa Tseng @StrangeLoopConf
Janus: Easy Complex UI with Declarative FRP by Issa Tseng  @StrangeLoopConf
Uploaded October 2021 | Updated November 2026, 3 hours ago
It has been gratifying to watch JS web development embrace functional paradigms and data flows in the past half decade or so. In adopting FRP-like semantics, React, Vue, and others have moved the needle on development and maintenance, clarifying data handling and embracing functional means for defining a user interface. However, while their particular blend of old and new paradigms and balance of familiarity to mainstream developers serve many purposes, there exist other approaches that go even further.

Janus (janusjs.org) is a plain-JS framework started in 2013 that makes complex user interfaces safe and easy to realize. Modular but opinionated, Janus is built on a strong formal base but provides familiar building blocks. Its emphasis on time-independence push it in almost more of a declarative than functional direction.

Janus provides data primitives (Varying, List, Map, and many others) with common and familiar interfaces, but which work declaratively: x is always this mapping of y, not x is right now this mapping of y. On top of this Janus builds powerful tools for context-free programming, a flexible and extensible declarative View and Template framework based on composition, established means to render interfaces on both client and server with the same code, and much more.

Through all this, Janus stays true to its core ideals. It is a tiny toolkit of independent customizable parts which work brilliantly together to create a simple, humanist development experience.

Issa Tseng

Issa lives in Seattle, WA, where they work on music, words, video, technology for the developing world, and silly things like this.

Recorded at Strange Loop 2021
thestrangeloop.com
Janus: Easy Complex UI with Declarative FRP by Issa TsengLiveViewJS is the anti-SPA library for reactive app development in NodeJS and Deno by Donnie FloodTurning GraalVM from Research to Product by Thomas Wuerthinger (Strange Loop 2023)Stop Writing Dead Programs by Jack Rusher (Strange Loop 2022)Interactive Debugging and Testing Support for Deep Learning by Tianyi ZhangTime Travel Debugging JavaScript Applications by Cecelia Martinez (Strange Loop 2022)Equitable Experiential Access: Audio Description by Laurel LawsonLeveraging AI for Global Health by África Periañez (Strange Loop 2022)Waterpark: Distributed Actors vs the Pandemic by Bryan HunterAstronaut Horse: Stable Diffusion Artist Collaborations by Tom Betthauser (Strange Loop 2023)Streaming video analysis in Rust using Pravega by Tom KaitchuckA JVM threading model for the containerized times by Luiz Hespanha and Flavio Brasil
Strange Loop Conference |

"Janus: Easy Complex UI with Declarative FRP" by Issa Tseng

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER