Renaming SSR Callbacks #127
                  
                    
                      sebmarkbage
                    
                  
                
                  announced in
                Announcement
              
            Replies: 0 comments
  
    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.
-
Heads up in the latest RC, we renamed some of the callbacks in the Node.js streaming API as well as the Web Streams API.
They're no longer called "Complete" but instead "Ready". That indicates that they're ready to be written but hasn't necessarily been written.
The Web Streams API have moved the
onCompleteAllcallback to astream.allReadypromise.To wait for all Suspense boundaries to resolve before flushing:
The Node.js API has
onShellReady,onShellErrororonAllReadycallbacks.Beta Was this translation helpful? Give feedback.
All reactions