c4710n
Programming Phoenix LiveView B3.0: handle_params/3 is called after mount/3 (page 94)
The right lifecycle should be
- mount/3
 - handle_prams/3
 - render/3
 
Marked As Solved
SophieDeBenedetto
									Author of Programming Phoenix LiveView
			          
						Right you are! We’ll correct this in an upcoming Beta release. Thanks for pointing this out 
@redrapids, I’ll update the prose but I believe you have the source file for the image on page 94. Go ahead and update then when you get a chance. Thanks!
	                    1
	                
	                
	            Also Liked
Popular Pragmatic Bookshelf topics
                        
                      
                      
                page 20: … protoc command… 
I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
              
            
            
          
              New
                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
                Following the steps described in Chapter 6 of the book, I’m stuck with running the migration as described on page 84: 
bundle exec sequel...
              
            
            
          
              New
                Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display) 
It looks like 
    .with_simple_console_no_bg(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
              
            
            
          
              New
                The generated iex result below should list products instead of product for the metadata. (page 67) 
iex> product = %Product{}
 %Pento....
              
            
            
          
              New
                I’m new to Rust and am using this book to learn more as well as to feed my interest in game dev. I’ve just finished the flappy dragon exa...
              
            
            
          
              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
                When installing Cards as an editable package, I get the following error: 
ERROR: File “setup.py” not found. Directory cannot be installe...
              
            
            
          
              New
                Hi, 
I am getting an error I cannot figure out on my test. 
I have what I think is the exact code from the book, other than I changed “us...
              
            
            
          
              New
                I got this error when executing the plot files on macOS Ventura  13.0.1 with Python 3.10.8 and matplotlib 3.6.1: 
programming_ML/code/03_...
              
            
            
          
              New
Other popular topics
                        
                      
                      
                Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: 
Perhaps if there’s enough peop...
              
            
            
          
              New
                You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
              
            
            
          
              New
New
                I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: 
The Ser...
              
            
            
          
              New
                Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
              
            
            
              
          
              New
                The File System Access API with Origin Private File System. 
WebKit supports new API that makes it possible for web apps to create, open,...
              
            
            
              
          
              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
                Author Spotlight: 
Bruce Tate 
@redrapids 
Programming languages always emerge out of need, and if that’s not always true, they’re defin...
              
            
            
          
              New
                Will Swifties’ war on AI fakes spark a deepfake porn reckoning? 
              
            
            
              
          
              New
Latest in Programming Phoenix LiveView
Categories:
Sub Categories:
Popular Portals
- /elixir
 - /rust
 - /ruby
 - /wasm
 - /erlang
 - /phoenix
 - /keyboards
 - /python
 - /rails
 - /js
 - /security
 - /go
 - /swift
 - /vim
 - /clojure
 - /emacs
 - /haskell
 - /java
 - /svelte
 - /onivim
 - /typescript
 - /kotlin
 - /c-plus-plus
 - /crystal
 - /tailwind
 - /react
 - /gleam
 - /ocaml
 - /flutter
 - /elm
 - /vscode
 - /ash
 - /opensuse
 - /html
 - /centos
 - /php
 - /zig
 - /deepseek
 - /scala
 - /sublime-text
 - /lisp
 - /textmate
 - /react-native
 - /nixos
 - /debian
 - /agda
 - /kubuntu
 - /arch-linux
 - /django
 - /deno
 - /revery
 - /ubuntu
 - /spring
 - /nodejs
 - /manjaro
 - /diversity
 - /lua
 - /julia
 - /c
 - /slackware
 
    





