What You’ve Learned

Web Development with Clojure, Third Edition — by Dmitri Sotnikov, Scot Brown (30 / 107)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Managing State with Re-Frame | TOC | Chapter 5 Setting Up for Success 👉

In this chapter, you’ve learned how using ClojureScript can make your app cleaner and more feature rich. You’ve learned about how Reagent manages components via dereffables to allow views to be specified declaratively without sacrificing performance. And you’ve learned about re-frame’s event-subscription model for managing application state and seen how it makes apps more flexible, robust, and manageable.

In the next chapter, we’ll look at setting up professional ClojureScript development tools and how to use them to improve the architecture and features of our guestbook. We’ll set up a Swagger service API, a REPL connected to the browser, and a re-frame debugger. Then we’ll connect to our server using WebSockets to facilitate bidirectional communication and live message updates. In the process, we’ll explore more of the design philosophy behind re-frame and learn some of its more advanced features.

Footnotes

[35] https://github.com/google/closure-compiler

[36] https://github.com/google/closure-library

[37] https://clojurescript.org/

[38] https://github.com/emezeske/lein-cljsbuild

[39] https://reactjs.org/

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.