If the rendered content contains images, due to re-rendering, it may cause a “Flicker” phenomenon. In an attempt to solve this, we can try to split the content into an array of strings using chunked newline characters, and then use v-for to render. However, this approach may result in multiple redundant div tags. This approach has been observed to be different from the DOM tree of ChatGPT. Therefore, we need to explore alternative solutions. The key idea is to “chunk” the content into smaller units, process each unit separately, and then render them concurrently. This approach can effectively reduce the flicker phenomenon. Additionally, we can also consider other techniques such as pre-rendering or caching to mitigate the flicker effect. By exploring and combining these approaches, we can achieve a smooth rendering experience and eliminate the flicker phenomenon.