 
  		        jameslewis
Web Development with Clojure, Third Edition: needing to import websockets.cljs (Page 148 of 325)
Web Development with Clojure, Third Edition:
Page 148 of 325
It was obvious to me but may not be to many, there is no mentioning of needing to import websockets.cljs prior to calling send-message! in the :message/send! event
Once I imported [guestbook.websockets :as ws] it worked fine 
p.s. Amazing book so far !!
Marked As Solved
 
		        Dmitri
									Author of Web Development with Clojure
			          
						Thanks for the heads up, updated to mention the require. And glad to hear you’re liking it so far!
	                    2
	                
	                
	            Popular Pragmatic Bookshelf topics
                         
                      
                       
          
                This test is broken right out of the box… 
— FAIL: TestAgent (7.82s) 
agent_test.go:77: 
Error Trace:    agent_test.go:77 
agent_test.go:...
              
            
            
          
              New
 
          
                In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
              
            
            
          
              New
 
          
                Working through the steps (checking that the Info,plist matches exactly), run the demo game and what appears is grey but does not fill th...
              
            
            
          
              New
 
          
                I’m under the impression that when the reader gets to page 136 (“View Data with the Database Inspector”), the code SHOULD be able to buil...
              
            
            
          
              New
 
          
                The markup used to display the uploaded image results in a Phoenix.LiveView.HTMLTokenizer.ParseError error. 
lib/pento_web/live/product_l...
              
            
            
          
              New
 
          
                Skimming ahead, much of the following is explained in Chapter 3, but new readers (like me!) will hit a roadblock in Chapter 2 with their ...
              
            
            
          
              New
 
          
                When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
              
            
            
          
              New
 
          
                root_layout: {PentoWeb.LayoutView, :root}, 
This results in the following following error: 
no “root” html template defined for PentoWeb...
              
            
            
          
              New
 
          
                Getting an error when installing the dependencies at the start of this chapter: 
could not compile dependency :exla, "mix compile" failed...
              
            
            
          
              New
 
          
                From page 13: 
On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv  using Visual Studio ...
              
            
            
          
              New
Other popular topics
                         
                      
                       
          
                Hello Devtalk World! 
Please let us know a little about who you are and where you’re from :nerd_face:
              
            
            
          
              New
 
          
                My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
              
            
            
          
              New
 
          
                Small essay with thoughts on macOS vs. Linux:
I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
              
            
            
          
              New
 
          
                Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
              
            
            
          
              New
 
          
                A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
              
            
            
          
              New
 
          
                Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
              
            
            
              
          
              New
 
          
                Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
              
            
            
              
          
              New
 
          
                Author Spotlight 
Rebecca Skinner 
@RebeccaSkinner 
Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
              
            
            
          
              New
 
          
                There appears to have been an update that has changed the terminology for what has previously been known as the Taskbar Overflow - this h...
              
            
            
          
              New
 
          
                Author Spotlight: 
Peter Ullrich 
@PJUllrich 
Data is at the core of every business, but it is useless if nobody can access and analyze ...
              
            
            
          
              New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /rails
- /js
- /security
- /go
- /swift
- /vim
- /clojure
- /haskell
- /emacs
- /java
- /svelte
- /onivim
- /typescript
- /kotlin
- /crystal
- /c-plus-plus
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /opensuse
- /html
- /centos
- /php
- /zig
- /deepseek
- /scala
- /lisp
- /sublime-text
- /textmate
- /react-native
- /nixos
- /debian
- /agda
- /kubuntu
- /arch-linux
- /django
- /revery
- /ubuntu
- /deno
- /spring
- /manjaro
- /nodejs
- /diversity
- /lua
- /julia
- /c
- /slackware
 
    





