How does chatgpt and others chat apps do in the ui to display the canvas from the responses while streaming???