Clojure: Using a JavaScript Charting Library in Reagent

Charting in javascriptThere are several high quality charting libraries made for the browser. I chose Highcharts for this demo. Highcharts is an excellent co…

Similar

Asynchronous Array Functions in JavaScript

The new async/await is an immensely useful language feature that hides the complexity of asynchronous code and makes it look like it’s working in a synchronous way. The code example below does not look complicated at all, just a few awaits here and there.... (more…)

Read more »

Writing Dependency-Free JavaScript

Lately, I have been working on a web application, pixu.rs1, that, while small, includes an interactive form with image uploading and multiple phases. This is exactly the kind of thing I tend to turn into a mess when I'm not using React, Redux and everythi... (more…)

Read more »

Dark mode images without JavaScript

The <picture> element supports media query matchers and if you want to specify a different image for dark mode, you can use a different <source>. So, if there are no suitable matches or if the browser doesn’t support the <picture> elemen... (more…)

Read more »