re-frame-10x
mulog
Our great sponsors
re-frame-10x | mulog | |
---|---|---|
2 | 4 | |
624 | 469 | |
0.8% | - | |
8.5 | 4.6 | |
16 days ago | 18 days ago | |
Clojure | Clojure | |
MIT License | Apache License 2.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.
re-frame-10x
-
Show HN: Time Travel Debugger
Surely not as fully featured, but the general idea has been possible for ClojureScript Re-frame with: https://github.com/day8/re-frame-10x
-
Clojure Re-Frame Exercise
Metosin Reagent-dev-tools. I used quite a lot the excellent Metosin Reagent-dev-tools (as you can see in the picture below). I tried the re-frame-10x tool as well, but I liked more the Metosin Reagent-dev-tool’s visual layout (and I’m a company man - you eat your own dog food). The Metosin Reagent-dev-tool was one of the most important development and debugging tools during this exercise. Once you configure the tool to show the Re-frame application db state you get a nice tree view to the app-db:
mulog
-
Tracing: Structured Logging, but better in every way
There are logging libraries that include syntactically scoped timers, such as mulog (https://github.com/BrunoBonacci/mulog). While a great library, we preferred timbre (https://github.com/taoensso/timbre) and rolled our own logging timer macro that interoperates with it. More convenient to have such niceties in a Lisp of course.
- A History of Clojure (2020) [pdf]
- Logging verbosely into a ring buffer?
-
Debugging in Clojure
Assuming the crash doesn't cause the process to completely exit, you could indeed use `scope-capture` for this. This works well for local dev. In theory, you could use `sc.api/spy` in production code, and then attach a remote repl to diagnose any crashes. I wouldn't recommend this though, I think it would be best to use a good logging library like Mulog: https://github.com/BrunoBonacci/mulog
What are some alternatives?
reitit - A fast data-driven routing library for Clojure/Script
timbre - Pure Clojure/Script logging library
re-frame - A ClojureScript framework for building user interfaces, leveraging React
debug-repl - A Clojure debug repl as nrepl middleware
rrweb - record and replay the web
clj-otel - An idiomatic Clojure API for adding telemetry to your libraries and applications using OpenTelemetry.
devtools - Replay.io DevTools
cider - The Clojure Interactive Development Environment that Rocks for Emacs
dark - Darklang main repo, including language, backend, and infra
spyscope - Trace-oriented debugging tools for Clojure
devtools - Replay.io DevTools [Moved to: https://github.com/replayio/devtools]
re-frame-flow - Graph based visualization tool for re-frame event chains