This Hacker News thread discusses a ClojureScript video and the challenges and benefits of using the language for front-end development. A key point raised is the difficulty of attaching a REPL to a production ClojureScript build for debugging, due to optimization tradeoffs.
Several users highlighted the advantages of ClojureScript, including its pleasant development experience compared to native JavaScript, its integration with React, and the power of REPL-driven development. Some argue that the REPL approach has limitations when dealing with the deeply effectful nature of UIs. Frameworks like re-frame, which promote pure functions for event handling and effects, are mentioned as solutions. The conversation touches upon tooling for visualizing state and potential improvements in interactive development environments.
The thread also notes the transition away from the Google Closure Library, with ClojureScript forking the library to maintain compatibility and avoid breaking changes. Finally, one user recommends Hyperfiddle's Electric Clojure as a "next react" that seamlessly handles client-server communication with one function that spans both sites.