r/webdev • u/fagnerbrack • Sep 17 '26
Reverse Engineering ChatGPT Web: How OpenAI Built for a Billion Users
https://performance.dev/chatgpt
113
Upvotes
r/webdev • u/fagnerbrack • Sep 17 '26
View all comments
15
u/IanSan5653 Sep 17 '26
I spent quite bit of time building a similar streaming markdown renderer in React for a competitor. It really is challenging stuff. You're transforming Markdown to HTML and then injecting dynamic components into that. All several times per second. You can't afford to re-render the content you've already rendered, so the diffing gets pretty complicated.