Error: setState() called after dispose() #1318
              
  
  Closed
              
          
                  
                    
                      Schrolli91
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| 
         This still an issue? @Schrolli91  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a little problem with the following code:
This will work as expected if i add a new item (
goodsis null).But if i want to edit one (
goodsis not null, so all fields a prefilled likegoods?.image ?? 'placeholder') then i will get thesetState called afterError.But for me its not clear why this happens. Any Ideas?
Beta Was this translation helpful? Give feedback.
All reactions