4ever-clojure
shadow-cljs
4ever-clojure | shadow-cljs | |
---|---|---|
17 | 20 | |
220 | 2,205 | |
- | - | |
4.1 | 9.1 | |
2 months ago | 4 days ago | |
Clojure | Clojure | |
- | Eclipse Public License 1.0 |
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.
4ever-clojure
- Old but not rusty - Learning Clojure?
-
New to clojure, where to start?
I found this to be an awesome bridge between reading about the theory and actually writing code that works: https://4clojure.oxal.org/
-
Babashka Babooka: Write Command Line Clojure
This is for general Clojure, Iβve had a lot of fun and learned a lot from it (and the original): https://4clojure.oxal.org/
-
Change a variable inside cycle
It's normal to apply methodology like this to clojure when transitioning from other languages. When I was first learning I did a bunch of exercises on 4clojure and my first attempts looked like this. Then I found loop from the standard library and I understood immutability but relied on loop to do anything to collections of things. Eventually, after looking at the answers, I started to get familiar with the standard library. Then my solutions started to look like the two line solution above.
-
BTowersCoding/ctrain: do 4Clojure (RIP) exercises in the terminal
4Clojure is here now: https://4clojure.oxal.org/. It runs locally in your browser.
-
The best Clojure learning path
Go to https://4clojure.oxal.org/ and solve some stuff. And don't learn any theory. You're thinking how a C# developer thinks and you think you need to learn some kind of packages by heart or something.
-
Building a Startup on Clojure
I learned by reading through a book, then working through problems on https://4clojure.oxal.org/. If you've got JS experience it won't take too much effort to pick up. Don't get too carried away with forming the perfect tail recursive pure functional monad or whatever. Get into just doing what you're trying to do quickly, then after you're competent, read other people's code to correct your style.
-
learning Clojure
I'm only a couple months into learning Clojure too, but I found solving a problem myself and then seeing others solutions on this website https://4clojure.oxal.org/ was invaluable for learning to think like a clojurist.
-
Anything like 4clojure for Haskell?
I'm trying to learn Haskell and found https://4clojure.oxal.org/ very helpful. https://tryhaskell.org/ was also nice, but it is limited in scope as compared to its Clojure equivalent.
-
'Interactive Problems' section in the side bar contains a bad link to '4clojure.'
The actual address is https://4clojure.oxal.org/
shadow-cljs
-
A History of Clojure (2020) [pdf]
* 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).
-
Supercharge Your JS/TS Project with ClojureScript REPL
Now, add shadow-cljs.
-
[ANN] Malli 0.11.0 is out - a data-driven data specification library for Clojure/Script
Work with latest shadow-cljs (& closure compiler) #890
-
Cherry: ClojureScript to ES6 Module Compiler
You can already develop with ClojureScript on the back-end. A popular ClojureScript compiler, Shadow-CLJS (https://github.com/thheller/shadow-cljs) has a target for Node among many others.
-
Why metabase and circle are not using cljs (mostly)?
Hi, I'm looking at Clojurescript again after not having paid attention to it after several years. Are you saying that shadow-cljs does something to deal with the, "I have no idea if this library I want to use works with the Google Closure compiler," problem? If so, what? I'd really like to know.
- Clojure needs a Rails, but not for the reason you think
- shadow.css - CSS-in-CLJS
-
Rich Hickey β open-source is Not About You
I don't know, the community in general tend to use macros that are well written. I keep seeing core.async being used (`go`) in Clojure projects, and also various macros for writing HTTP servers (compojure being a popular one which main code interface is a macro `defroutes`).
ClojureScript projects also routinely add support for making asynchronous code look synchronous (like `async/await` in vanilla JavaScript) via macros. shadow-cljs's `js-await` being one of the well-written ones: https://github.com/thheller/shadow-cljs/blob/49fb078b834e64f...
Usage:
(defn my-async-fn [foo]
- Finalmente, depois de dois aninhos no ventre, minha empresa nasceu πΆπ
-
ClojureDocs β Community-powered documentation and examples for Clojure
Unclear what "rendering a webpage" entails exactly.
If you want to do frontend development, you can give shadow-cljs a try, the quickstart is pretty quick: https://github.com/thheller/shadow-cljs#quick-start
If you want to just render server-side HTML, something like compojure (HTTP routing) and hiccup (Clojure data -> HTML) is pretty easy and quick to get started with (https://gist.github.com/zehnpaard/2071c3f55ed319aa8528d54d90...).
If you want to generate HTML files to serve with nginx/whatever, you can just use hiccup and `(spit)` the resulting HTML to files on disk.
What are some alternatives?
rich4clojure - Practice Clojure using Interactive Programming in your editor
helix - A simple, easy to use library for React development in ClojureScript.
datascript - Immutable database and Datalog query engine for Clojure, ClojureScript and JS
reagent - A minimalistic ClojureScript interface to React.js
biff - A Clojure web framework for solo developers.
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
clojure-by-example - An introduction to Clojure, for programmers who are new to Clojure.
re-frame - A ClojureScript framework for building user interfaces, leveraging React
ultralisp - The software behind a Ultralisp.org Common Lisp repository
mkcert - A simple zero-config tool to make locally trusted development certificates with any names you'd like.