Explore all newline lessons
lesson
Clojure Project Setup with create-cljs-appTinycanva: Clojure for React DevelopersIn this chapter, we will bootstrap a project using create-cljs-app and understand the code generated. We'll also study Hiccup, a CLJS alternative for JSX, and various ways to require namespaces.
lesson
OverviewTinycanva: Clojure for React DevelopersWalkthrough the components and concepts we will implement, with a video demo of the final app.
lesson
Clojure Constructs and Techniques to Interact with JavaScriptTinycanva: Clojure for React DevelopersClojure lets you write code close to the metal ie the host language. In this chapter, we'll learn about constructs and techniques to interact with JavaScript within Clojure.
lesson
Threading Macros in Clojure - Thread-Last vs Thread-First vs AsTinycanva: Clojure for React DevelopersNested calls can become hard to manage. Threading macros help us take control. In this chapter, we'll learn about the concept of threading macros and study three commonly-used versions.
lesson
Sequence OperationsTinycanva: Clojure for React DevelopersClojure sequences are abstract. In this chapter, we'll make sense of what exactly we mean by that, and learn about common operations.
lesson
Clojure Functions - Definitions, Distinctions, and ExamplesTinycanva: Clojure for React DevelopersThere are many ways to define a function and parse arguments. In this chapter, we'll learn more about function definition, destructuring and some helpful higher-order functions.
lesson
Atoms in Clojure - How to Create and Manipulate ThemTinycanva: Clojure for React DevelopersAtoms are thread-safe containers for handling mutable state. In this chapter, we'll learn how to create and manipulate atoms. We'll also learn how to hook into an atom's lifecycle and execute side-effects.
lesson
Clojure Conditionals - Understanding Flow Control OperatorsTinycanva: Clojure for React DevelopersClojure offers many control flow conditionals, like if-else blocks. In this chapter, we'll study the API of a few such methods.
lesson
A Clojure Beginner's Guide to Structural Editing with PareditTinycanva: Clojure for React DevelopersParedit is a tool to help with structural editing. It helps you write and modify S-Expressions with so much ease that the brackets will almost disappear! In this chapter, we'll learn fundamental Paredit commands.
lesson
An Introduction to Clojure REPL and Evaluating Code InlineTinycanva: Clojure for React DevelopersThe REPL is an essential element of a Lisper's toolkit. In this chapter, we'll solidify our grasp of the REPL and editor integration. We'll also learn about some problems that come with the REPL.
lesson
Getting Familiar With The Shadow CLJS APITinycanva: Clojure for React DevelopersOur first project is now in place. In this chapter, we'll learn how to build and run it. We'll also explore some other build targets and explore Shadow with Reagent, a ClojureScript wrapper to React.
lesson
How to Set Up a Shadow CLJS Project From ScratchTinycanva: Clojure for React DevelopersEnough talking, let's create a new repository and set up a project from scratch, using Shadow CLJS.