Commit Graph

13 Commits

Author SHA1 Message Date
dan
b59b64f386 [Beta] Upgrade to MDX 2 (#5107)
* [Beta] MDX 2

* Fix up old pages
2022-09-24 17:37:15 +01:00
Dan Abramov
31c8e43926 [Beta] Enable Strict Mode 2022-09-10 16:00:12 +01:00
dan
6e21a2e5a8 [Beta] Move from MDX loader to getStaticPaths (#4990)
* Move Markdown from src/pages to src/content

* Use getStaticProps

* Fix Fast Refresh

* Clean up

* rm unused

* Fixes
2022-09-05 22:42:29 +01:00
ycjcl868
022c8ff29d [Beta] Add some types (#4728)
* [Beta] Optimize some performance

* Unnecessary image optimization

* Unused optimizeFonts
2022-06-08 15:10:24 +01:00
dan
4708fe6fd2 [Beta] Slightly reduce bundle size (#4688) 2022-05-25 22:34:08 +01:00
dan
26d7dfb25c [Beta] Build for modern browsers (#4682) 2022-05-24 00:04:23 +01:00
dan
4e629996e4 [Beta] Update Next and React (#4680)
* [Beta] Update Next and React

* Fix types
2022-05-23 22:10:25 +01:00
dan
9cee632619 [Beta] Do not bundle built-in ESLint rules (#4679) 2022-05-23 19:28:36 +01:00
Strek
2979d0c967 Splitting sandpack from main bundle (#4256)
* Initial Commit

* play with it

* oops

* easier repro

* import type

* remove `suspense: true`

* Add patch for next

* Patch package

* Add fallback

* Enable flag

* Fixes local dev env and adds better fallback for codeblock

* Adds fallback for sandpack (should work fine)

* turn off concurrentFeatures

* Revert "turn off concurrentFeatures"

This reverts commit 50158ecbd33969e707a2a91a54e822e90c2ebfde.

* Update SandpackWrapper.tsx

* Removed flags and setTimeouts

* add timeouts and promise again

* Adds bottom bezel and scroll to sandpack fallback

* tinker bottombezel and remove console

* Update CodeBlock.tsx

* Update SandpackWrapper.tsx

* removing overflows to avoid explicit scrolls

* upgrade nextjs to canary

* Rm patch

* Fix TS

* Bump Next

* No more CSS jumping

* Reverts the canary to use the latest Next.js `12.0.10`

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@me.com>
2022-02-16 23:06:04 +05:30
R Nabors
b1f91c92f4 Analytics for Beta (#4224)
* adding google analytics metrics to beta

* adding google analytics metrics to beta
2022-01-21 18:51:26 +00:00
Dan Abramov
8cd97ad66a Bump to Next 12 (#4037) 2021-11-04 00:50:54 +00:00
Dan Abramov
1c2f980f01 [Beta] Add bundle analyzer (#4036) 2021-11-04 00:00:32 +00:00
Rachel Nabors
981db3397e Initial check-in of new React docs and website
Co-authored-by: Dan Abramov <dan.abramov@me.com>
Co-authored-by: Sylwia Vargas <sylwia.vargas@gmail.com>
Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
Co-authored-by: Razvan Gradinar <grazvan@fb.com>
Co-authored-by: Jared Palmer <jared@palmer.net>
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Dustin Goodman <dustin.s.goodman@gmail.com>
Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
Co-authored-by: Maggie Appleton <maggie.fm.appleton@gmail.com>
Co-authored-by: Alex Moldovan <alex.n.moldovan@gmail.com>
Co-authored-by: Ives van Hoorne <ives.v.h@gmail.com>
Co-authored-by: Brian Vaughn <bvaughn@fb.com>
Co-authored-by: Dmitri Pavlutin <dpavlutin@gmail.com>
2021-10-28 21:33:41 +01:00