HACKER Q&A
📣 santy-gegen

Does ChatGPT use Next.js as it's framework?


I'm learning more and more about programming doing deliberate practice. Today, I found myself curious about what chatGPT is using as it's framework.

React developers tools confirms it's built with React. Curious to know more, I went into the console and did:

console.log({ NextJSVersion: window.next?.version, })

to which i got as an output: {NextJSVersion: '13.3.4'}

Does this confirm chatGPT is built using Next.js or am I commiting a mistake?

Thanks for the community knowledge in advance, Santy


  👤 impulser_ Accepted Answer ✓
Yes, the ChatGPT web app is built using Next. You can see this when you open the source of the app and look at the JS chucks which contain _next in the links also by the first div of html contain id="__next"

👤 jzombie
Why not just take it for its word?

I don't see, for instance, why they might use Svelte instead, and some evil genius decided to just hardcode that into the window object.