Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Upgrade to docusaurus 2 #7785
Hello there, as discussed in #6793 we would like to dogfood docusaurus v2 for CRA. The development experience for v2 is much better because client side rendering is also enabled. The website is also seems to be very performant (its a single page app now but also staticly rendered for SEO)
It's better to test it from netlify preview https://deploy-preview-7785--create-react-app.netlify.com/
Probably what's missing is the "Edit" button on each docs page and a collapsible sidebar. That will come in .alpha.26 instead
yangshun left a comment
Wow this is awesome. It's nice that there were so few Docusaurus changes to be made. I'm not sure if the CRA maintainers would want to separate out the Markdown changes vs the Docusaurus changes. Might be cleaner, but this looks fine to me.
Approved from the Docusaurus side!
cc @amyrlam here's our long overdue PR
Other than that, maybe the CSS will not render well in IE11 due to usage of CSS variables (but we intend to fix it in future). But that's about it!