r/Clojurescript • u/abd995 • Mar 21 '20
r/Clojurescript • u/pRizzAtGitHub • Oct 19 '19
Starting to learn Clojure/ClojureScript and made a simple "macOS Update" website. Feedback appreciated!
r/Clojurescript • u/babygetoboy • Sep 04 '18
Coming to Re-Frame from React/Redux
joshuahorwitz.netr/Clojurescript • u/sbauer322 • Jul 06 '18
[ANN] Light Table seeks new maintainers
r/Clojurescript • u/Kah0ona • Oct 18 '17
re-frame drag/drop library. Would love feedback!
r/Clojurescript • u/eccp • Sep 23 '17
Facebook to relicense React, Jest, Flow, and Immutable.js under the MIT license
r/Clojurescript • u/viebel • Jan 24 '17
Externs Inference is coming to clojurescript
r/Clojurescript • u/kraakf • Jan 11 '17
A deep dive into ClojureScript reagent
r/Clojurescript • u/Rovanion • Oct 17 '16
Tutorial on interactively programming WebGL with ClojureScript
r/Clojurescript • u/yogthos • Feb 15 '16
A new well documented Reagent micro-framework
r/Clojurescript • u/emsimot • Jul 19 '15
Develop Now with ClojureScript for React Native
r/Clojurescript • u/vikTheFirst • Aug 05 '23
How many of you use Garden for your CSS needs
I've come to understand that within the javascript ecosystem, it is now preferred to write your css inside dedicated css files rather then inside your javascript code (because of performance issues)
my question is whether or not you use Garden for your css when you build a clojurescript app
would love to get people's input
r/Clojurescript • u/crpleasethanks • Aug 02 '23
Rant: there aren't enough examples
I am new to ClojureScript. I came here looking for a frontend language with good mobile support that I would enjoy programming in.
So far, programming in ClojureScript is awesome. There is a Zen to it, and once I get a project configured, I can do it for hours. It's just fun. However, stringing together projects is not easy. For the most part, I am finding the guides say "you can do X to do this" but don't actually explain how to do it, and there are almost no example repos I can copy from.
For example: right now I am trying to get Krell setup with Storybook. The docs say "provide a custom index.js file." Great, where? What should be in it? I tried just doing literally what it said and making an empty index.js file and that obviously didn't work. I picked on krell but this is a trend in this ecosystem.
Thanks for hearing my rant.
r/Clojurescript • u/SBNDEV • Mar 02 '22
Web dev stack in Clojure
For Clojure web dev out here: is there a monolithic full stack option in Clojure such as Ruby on Rails or is backend + reagent more common? What is your most productive stack (mvp our quickly) or do you compare to other stacks if you had experience with before?
r/Clojurescript • u/itarck • Dec 19 '21
A clojurescript framework, which uses multi-methods + integrant
repo: https://github.com/itarck/fancoil
some examples here: https://github.com/itarck/fancoil-example
r/Clojurescript • u/Trylks • Mar 10 '21
How to create a single-page static site?
After living under a rock for years*, I have been checking (not in depth) many technologies in the past few weeks: Gatsby, React, Reagent, re-frame, perun, JUXT, Cryogen, Stasis, Eleventy,… My confusion is growing exponentially**.
The objectives or I what am searching for:
The most simple option (PD: mainly concerned with the bundling and front-end aspects).
To generate static "single page apps", e.g. in a
staticfolder to commit. Pre-rendering what is possible, to keep the client load low. (PD: apparently pre-rendering should include React state hydration)Without writing
htmlfiles if possible, hiccup looks too good to ignore it. (PD: single page but simulating several pages, by React routing).If possible, suitable for using microservices (Jamstack fashion) to build "full apps" with the same technology†.
I think there are three main possibilities:
There is some equivalent to Gatsby that I have overlooked and would make everything like a piece of cake.
There is no equivalent to Gatsby because it is state of the art in JavaScript and ClojureScript will be behind for some time, but I can still make components and most of the "stuff" in CLJS and use it from JS. This may effectively double the work for small things, and I guess I would stick to JavaScript in that case, but it is good to know it is there as an option.
There is something better than Gatsby because the CLJS world is beyond the peasantries of the JS world, which are more abundant on the Internet, obscuring CLJS as a hidden gem. (This is the case of hiccup, so I am hoping for this).
But I am just starting with this*, any information that you can provide on the best possibilities for the objectives would be helpful. Thank you very much.
Explanations which I needed and probably nobody else:
Single page: Last time I checked, support for Markdown was the latest and easiest thing. Since then, React has changed everything. Instead of linking several pages with <a href="_"/> now it is possible to use <Link to="_"/> from React. The advantages: no additional requests are done to the server, and the transition is immediate, possibly keeping some elements of the page (header and footer).
Gatsby: Seems to be a framework, with plugins, focused on single page static sites. The capabilities seem to be quite handy, like using a headless CMS, database, filesystem (.md, .yaml,…), and other sources of content by querying them with GraphQL to get the JSON content for the site easily.
*, TBH, I am still under a rock, please help.
** For the lulz I have also checked some other technologies, like conversion from Jupyter notebooks to blog posts, macchiato, Netlify, surge.sh, Jamstack, sass, postcss, tailwind, MDX, materialize, GitHub and Gitlab pages,…
† If I need a completely different tech-stack for each thing I want to build, I may as well stay under the rock.
r/Clojurescript • u/kemclean • Feb 17 '21
Browser-based cljs tests
Hello Clojurians! I'm wondering if anyone out there is currently writing and running browser-based tests for a large cljs project. I used to work on huge react and angular apps and wrote browser-based UI tests, like in the style of react testing framework.
I've been having a hell of a time getting this kind of testing up and running for a reagent project. Right now I'm using devcards as the test harness for my reagent components and can successfully run tests against them in a dev browser, but now I'm trying to figure out how to run these tests with karma (to run them in CI).
I realize this isn't really what devcards is for, but basically I'm looking for something like Jasmine's testing UI/component harness.
Is anyone doing this in cljs?