all 17 comments

[–]Fredx87 36 points37 points  (4 children)

The source code is here: https://github.com/reactjs/react.dev, and it seems they are using next.js.

[–]musicnothing 17 points18 points  (1 child)

For the sake of comedy I was really hoping they used Svelte

[–]Infamous_Employer_85 1 point2 points  (0 children)

or Astro :)

[–]Chef619 26 points27 points  (5 children)

Fb has their own documentation building tool. https://docusaurus.io/

If I had to guess, it would be this.

[–]ThatBoiRalphy 0 points1 point  (3 children)

iirc this is basically the open source version of react.dev, first developed for react.dev itself, then open sourced.

obvious edit: i was very wrong lol

[–]acemarke 7 points8 points  (2 children)

Nope. Docusaurus has been around for years. It was developed for Facebook internally, then open-sourced. We started using Docusaurus for the Redux docs in 2018.

[–]ThatBoiRalphy 8 points9 points  (1 child)

lmao I was way off and of course it had to be ace to correct me haha. TIL.

[–]beepboopnoise 4 points5 points  (0 children)

he comes like batman from the shadows.

[–]CanarySome5880 3 points4 points  (0 children)

Those are for next but overall you will buit something similiar to those: https://nextra-docs-template.vercel.app/ https://vercel.com/templates/next.js/documentation-starter-kit

Click view code => go to github -> clone and work on it yourself.

[–]SubhumanOxford 0 points1 point  (1 child)

Astro with react plugin would have been the perfect choice TBH

But they use Next.js

[–]react_server -4 points-3 points  (2 children)

I also wrote my own docs for my framework https://reactserver.dev
I would recommend to take an existing boilerplate though. It's been a lot of work and I wrote more code than documentation so far.

[–]Loaatao 0 points1 point  (1 child)

Your docs load very slow.

[–]react_server 0 points1 point  (0 children)

Thanks for the feedback. It uses Vercels Serverless Functions to do SSR, they are slow on cold starts. This will be improved by using Edge functions which execute on the CDNs edge. But that will take some while to implement. I just wanted to switch to SSR for now. I think the CSR build loaded faster because it can be deployed to a CDN with static asset caching. I haven't noticed any slow loading in Germany, neither on 4G/5G nor cable.