aws-gocljs VS reagent

Compare aws-gocljs vs reagent and see what are their differences.

reagent

A minimalistic ClojureScript interface to React.js (by reagent-project)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
aws-gocljs reagent
22 41
36 4,716
- 0.3%
0.0 1.1
over 1 year ago 5 months ago
Go Clojure
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

aws-gocljs

Posts with mentions or reviews of aws-gocljs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-04.
  • How to build a website without frameworks and tons of libraries
    17 projects | news.ycombinator.com | 4 Jul 2023
    i make two kinds of websites:

    - static. markdown rendered to html using github’s api[1].

    - dynamic. a go binary and an html file with inlined js zipped together and shipped somewhere[2].

    it’s nice to never consider the machinery of either of these anymore. instead i think about building interesting things.

    1.

    https://github.com/nathants/render

    https://nathants.com/

    2.

    https://github.com/nathants/aws-gocljs

    https://gocljs.nathants.com/

  • Ask HN: How can a BE/infra developer handle the FE side of personal projects?
    7 projects | news.ycombinator.com | 13 Jun 2023
    have you tried cljs and reagent? it’s a different vibe.

    my bootstrap: https://github.com/nathants/aws-gocljs

    the project: https://reagent-project.github.io/

  • In what modern cloud envs is ClojureScript suitable?
    2 projects | /r/Clojurescript | 3 Jun 2023
    https://gocljs.nathants.com is 300kb gzipped on deploy in a single html file. setup is here: https://github.com/nathants/aws-gocljs.
  • Ask HN: Which stack is as boring (good boring) and cheap in 2023 as PHP?
    2 projects | news.ycombinator.com | 11 Mar 2023
    aws, go, and clojurescript.

    go is notoriously boring.

    the reagent api for clojurescript hasn’t changed in a decade, though recent things like shadow-cljs do improve qol.

    aws releases services with 2 in their name instead of changing existing ones. the old boring service will plod along forever.

    aws apigateway v2 is much better, but i have many deployed projects i will never migrate because they are fine on v1.

    i do it like this: https://github.com/nathants/aws-gocljs

  • We deploy 5X faster with warm Docker containers
    3 projects | news.ycombinator.com | 7 Mar 2023
    lambdas updatecode api takes less than a second. using container instead of a zip for lambda has advantages, but speed is not one of them.

    i auto rebuild my go zip and patch aws on every code change. it’s done before i alt tab and curl.

    script: https://github.com/nathants/aws-gocljs/blob/master/bin/dev.s...

  • Ask HN: What is the most barebone back end solution?
    6 projects | news.ycombinator.com | 20 Feb 2023
    lambda + s3. add ec2 spot if you need it.

    just make sure you understand how billing works. mostly it’s just egress bandwidth is expensive.

    do something like this:

    https://github.com/nathants/aws-gocljs

    or with less opinions:

    https://github.com/nathants/libaws/tree/master/examples/simp...

    welcome to cloud, glhf!

  • Devpod: Remote Development at Uber
    5 projects | news.ycombinator.com | 18 Dec 2022
    using remote resources as a part of your local dev flow can be very useful if your local environment is constrained on:

    - upload and/or download bandwidth

    - cpu/ram/gpu/ssd

    this can be as simple as an ephemeral ec2 spot machine that reacts every time files on it’s filesystem change. it then does stuff, like building and shipping.

    your local setup then needs to rsync files from local to remote every time you save a file.

    i’m on an upload constrained setup right now, and this[1] significantly speeds up my iterations uploading lambda zips.

    fancier setups probably are similarly advantageous, but add tradeoffs proportional to their complexity.

    1. https://github.com/nathants/aws-gocljs/blob/258ea5bb72d06a50...

  • Ask HN: Solo Dev Stack of 2022?
    9 projects | news.ycombinator.com | 1 Oct 2022
    go, clojurescript, and aws. all three of these have problems, but like linux are the least bad of the available options. from some angles they are even quite good.

    - go, a natural fit for backend with types and compilers and speed

    - clojurescript (and react via reagent), a natural fit for frontend with dynamism, flexibility, and data centrism

    - aws, a natural fit for infra. like linux, literally everyone is using it. if you avoid architect advice and tape over most of the knobs it’s quite good

    example:

    https://github.com/nathants/aws-gocljs

  • Ask HN: How do you deploy your weekend project in 2022?
    3 projects | news.ycombinator.com | 9 Sep 2022
    on aws as scale to zero services. lambda, dynamo, s3, and ephemeral ec2 spot.

    when egress bandwidth is needed i use cloudflare workers + r2 just like i would use s3 presigned urls.

    typically i start from a full project template[1][2]. sometimes i start from scratch[3].

    1. https://github.com/nathants/aws-gocljs

    2. https://github.com/nathants/aws-exec

    3. https://github.com/nathants/libaws

  • Simple website approach and cost
    2 projects | /r/aws | 31 Aug 2022

reagent

Posts with mentions or reviews of reagent. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-21.
  • Ludic: New framework for Python with seamless Htmx support
    27 projects | news.ycombinator.com | 21 Mar 2024
    Generating `HTML` from lisps has poisoned any other approach for me, see for example https://www.neilvandyke.org/racket/html-writing/, https://reagent-project.github.io/, and https://edicl.github.io/cl-who/
  • Produce HTML from S-Expressions
    5 projects | news.ycombinator.com | 30 Aug 2023
    Hiccup syntax for Clojure uses hash maps (curly braces) for attrs, e.g. `{:style {:background "red" :margin "1em"}`

    See Reagent which uses Hiccup synta: https://reagent-project.github.io/

        (defn simple-component []
  • A History of Clojure (2020) [pdf]
    22 projects | news.ycombinator.com | 10 Aug 2023
    * Single-Page App: shadow-cljs for the build concerns (https://github.com/thheller/shadow-cljs), Reagent with Re-frame for complex/large app (https://reagent-project.github.io and https://github.com/day8/re-frame). Even if we now prefer using HTMX (https://htmx.org) and server-side rendering (Hiccup way of manipulating HTML is just amazing, https://github.com/weavejester/hiccup).
  • Leaving Clojure - Feedback for those that care
    8 projects | /r/Clojure | 23 Jun 2023
  • Clojure is a product design tool
    8 projects | news.ycombinator.com | 22 Jun 2023
    The API documentation lists the most commonly and rarely used parts before going into detail and there are many usage examples.

    Reagent has a nice intro tutorial (classic todo-app): http://reagent-project.github.io and many other helpful tutorials and resources for beginners: https://cljdoc.org/d/reagent/reagent/1.2.0/doc/documentation...

    However, since Reagent is still stuck with class-components for more complex behavior and relies on Hiccup, which is nice but has a performance cost compared to pure React, I am unsure about its future. Like some others in the Clojure community, I have moved to thin React wrappers like Helix and use Refx to integrate those with re-frame. It may be a bit confusing right now for beginners since there is no “golden path”.

    Also, unfortunately, many smaller libraries are poorly documented and it seems like it is expected from the developer to dig into the source code to find out what’s going on.

    What I found the most difficult as a beginner was how to setup a project in ClojureScript in the first place, like all the configuration in shadow-cljs, how it interacts with deps.edn, how it integrates with npm, the REPL, etc. But dev/build config has always been a weak spot for me, so it might be just that.

    Overall, I still very much enjoy working with Clojure(Script), more than in any other language. Anyone who likes Lisps and functional programming should give it a try (and be sure to watch Rich Hickeys amazing talks!).

  • Ask HN: How can a BE/infra developer handle the FE side of personal projects?
    7 projects | news.ycombinator.com | 13 Jun 2023
    have you tried cljs and reagent? it’s a different vibe.

    my bootstrap: https://github.com/nathants/aws-gocljs

    the project: https://reagent-project.github.io/

  • What are the enduring innovations of Lisp? (2022)
    2 projects | news.ycombinator.com | 1 Jun 2023
  • Building a website like it's 1999... in 2022
    6 projects | /r/programming | 19 Mar 2023
    Clojure people have been doing this for a decade or so. It’s really so much better to work with. All started with Hiccup and when React came along you got Reagent and many more developments building on the idea.
  • React.dev
    21 projects | news.ycombinator.com | 16 Mar 2023
    > But Reagent supports functional components as well, with hooks and all.

    I addressed this already: while reagent is able to emit function components, there is a performance penalty to this.[1]

    > I also very much like Hiccup, and so do many of us, because code is data and data is code, and Helix has decided not to support that.

    Hiccup is convenient to write, but it is a constant run-time cost and a significant storage cost given that you have to store long series of constructors to cljs.core.PersistentVector in your bundle, have the JS runtime actually construct the vector, then pass it through a Hiccup interpreter to finally produce DOM nodes and throw away the persistent vector, only to repeat this entire process again on re-render.[2]

    > Helix has decided not to support that.

    That is simply not true. From the Helix documentation[2],

    > If you want to use libraries like sablono, hicada or even hx hiccup parser, you can easily add that by creating a custom macro.

    These are all Hiccup interpreters you can readily use.

    IME there is very little difference between using the $ macro in Helix and writing Hiccup. I do not really miss Hiccup when I use Helix, and you still have data as code ;)

    While this is from an unrelated project, there are benchmarks[3] done against Reagent that demonstrate the sheer overhead it has. In practice it is not a big problem if you rarely trigger a re-render, but otherwise it is a non-trivial cost, and if you want to use modern React features (like Suspense), there is a lot of r/as-element mingling going on, converting cases, etc. that simply make Reagent feel more tedious to use than Helix.

    Also, the newer UIx2, which largely borrows from Helix, is "3.2x faster than Reagent" according to one of the contributors.[4]

    I think it'd be worthwhile to benchmark all of these libraries against each other and record the data in one place. Maybe I'll get around to doing it this weekend :)

    ---

    [1] https://github.com/reagent-project/reagent/blob/master/doc/R...

    [2] https://github.com/lilactown/helix/blob/master/docs/faq.md#w...

    [3] https://github.com/roman01la/uix#benchmarks

    [4] https://github.com/pitch-io/uix/pull/12

  • React is a fractal of bad design
    12 projects | news.ycombinator.com | 7 Mar 2023
    Reagent is peak React. All the good stuff without any of the hook and readability problems the article describes.

    No affiliation, happy user for years.

    https://github.com/reagent-project/reagent

What are some alternatives?

When comparing aws-gocljs and reagent you can also consider the following projects:

org-mode-site-template - A workflow for a complete site using the HTML publish option of Emacs Org-Mode

helix - A simple, easy to use library for React development in ClojureScript.

lazyweb

re-frame - A ClojureScript framework for building user interfaces, leveraging React

kee-frame-sample - Demo application to show off features of kee-frame

shadow-cljs - ClojureScript compilation made easy

zola_jamiedumont.com - Zola codebase behind jamiedumont.com

fulcro-rad-demo - A demo for Fulcro RAD using either SQL or Datomic databases.

JSONCrush - Compress JSON into URL friendly strings

storybook.js-with-shadow-cljs

uix - Idiomatic ClojureScript interface to modern React.js

hyperscript - Create HyperText with JavaScript.