Commit Graph

33 Commits

Author SHA1 Message Date
Sukka
8d2664b806 Feat: error-decoder (#6214)
* Feat: port error-decoder

* Fix: do not choke on empty invariant

* Refactor: read url query from `useRouter`

* Fix: argsList can contains `undefined`

* Fix: handle empty string arg

* Feat: move error decoder to the separate page

* Fix: wrap error decoder header in <Intro />

* Perf: cache GitHub RAW requests

* Refactor: apply code review suggestions

* Fix: build error

* Refactor: apply code review suggestions

* Discard changes to src/content/index.md

* Fix: animation duration/delay

* Refactor: read error page from markdown

* Fix lint

* Fix /error being 404

* Prevent `_default.md` being included in `[[...markdownPath]].md`

* Fix custom error markdown reading

* Updates

---------

Co-authored-by: Ricky Hanlon <rickhanlonii@gmail.com>
2024-01-12 16:18:21 -05:00
wnhlee
315cb7a38a fix wrong quotes around inline codes (#6523)
* fix wrong way quotes

* bump up to clear mdx cache
2024-01-07 11:06:41 -05:00
Danilo Woznica
43ada1f1b1 Sandpack 2.0: upgrade playgrounds (#5917)
* Update 17 files

* remove: legacy react devtool

* Update 3 files

* fix(editor): allow horizontal scroll

* Update SandpackRoot.tsx
2023-09-12 13:49:14 -04:00
Dan Abramov
dd65dcac3b Move beta to top level 2023-03-18 22:35:53 +00:00
dan
4c2503a83e Move the old site to another repo (#5739)
* Delete the old site from this repo

* Remove old GH workflow

* Remove other files
2023-03-18 22:28:17 +00:00
Brian Vaughn
3e4f2687c6 Update copyright headers (#3086)
Added and updated copyright headers.

Added some missing Flow types.

Removed an invalid prop-types import.
2020-07-07 10:35:57 -04:00
Fran Zekan
91ffdb0812 Upgrade to Node 12 LTS (#2831)
* Upgrade to node 12 LTS

* Run prettier
2020-03-14 13:24:39 +00:00
George Véras Valentim
dd79941caf Add canonical url to the head section (#1987) 2019-05-15 18:24:20 -07:00
Dustin Schau
fc0ef96fb6 chore: minor tweaks and run prettier 2018-09-28 14:29:44 -05:00
Alexander Nanberg
71b03486c0 Upgrade to Gatsby v2 (#1104)
* Upgrade to Gatsby v2

* Remove unnecessary polyfills since gatsby already provides them

* Move global styles to gatsby-browser

* Add fb comment and convert to cjs

* Revert to use pageQuery again

* Add back html.js

* Update dependencies

* Move TitleAndMetaTags

* Replace glamor/reset with normalize.css which fixes style order in prod

* Prettier formatting

* Remove unused types

* Remove old layout

* Fix versions link

* Update deps

* Update deps

* Remove hack since it's no longer needed

* Update dependencies

* Fix build error

* Fix prettier config resolution

* Update gatsby

* Remove custom onCreatePage logic

* Update dependencies

* Fix build

* Update dependencies

* prettier formatting

* update dependencies

* add custom babel config for flow

* upgrade dependencies

* update dependencies

* use stable gatsby release
2018-09-19 13:11:19 +01:00
Dan
58804cc370 More Flow fixes 2018-08-31 10:25:00 +01:00
Dan
88799e61fd Add exit clause for static builds 2018-08-31 10:24:16 +01:00
Dan Abramov
1ee1c3085f Patch the DOM to fix Google Translate (#1148)
* Fix Google Translate

* Tweaks
2018-08-31 10:21:07 +01:00
Alex Krolick
242dbdd7cc yarn upgrade
works locally...
2018-07-16 22:07:59 -07:00
Fredrik Forsmo
a970afa27e Remove "use strict" from source files 2017-12-02 15:25:17 +01:00
tricinel
4bf2356e02 Add flow types to utils 2017-11-28 15:00:19 +01:00
renanpvaz
0a255fe72a Merge branch 'master' of https://github.com/reactjs/reactjs.org into defer-babel-loading 2017-10-11 13:59:20 -03:00
Brian Vaughn
7a9f04cad8 Removed MIT section from website source file headers 2017-10-10 10:36:40 -07:00
jxom
de3bd87f4b Added fbjs eslint config, fixed lint errors and warnings 2017-10-10 08:41:44 +11:00
renanpvaz
b843de780d Merge branch 'master' of https://github.com/reactjs/reactjs.org into defer-babel-loading 2017-10-09 17:38:51 -03:00
renanpvaz
80b1b83754 linting fixes 2017-10-09 13:23:16 -03:00
renanpvaz
1d48f7574e load babel only when needed 2017-10-09 13:12:33 -03:00
Brian Vaughn
be1f9a60d8 Merge pull request #48 from jxom/update-sidebar-highlight-on-scroll
Tweak sidebar to update navigation highlight on scroll
2017-10-08 10:40:20 -07:00
Brian Vaughn
39def4b50c Removed no-longer-used isItemActive 2017-10-08 10:39:57 -07:00
jxom
15fc32561f Run check-all script 2017-10-08 11:34:24 +11:00
jxom
e9d0884a43 PR Changes 2017-10-08 11:33:36 +11:00
Brian Vaughn
0e647230e2 Replaced CC-BY 4.0 license in source code headers with MIT 2017-10-07 08:00:22 -07:00
Yangshun Tay
5f804b269d Standardize license across source files (#45) 2017-10-07 10:10:04 +01:00
jxom
63280cca1d Make createLinkBlog and createLinkDocs consistent with createLinkTutorial 2017-10-07 18:41:26 +11:00
jxom
94270569a5 Tweak sidebar to update navigation highlight on scroll 2017-10-07 18:33:53 +11:00
Brian Vaughn
c9e1c3b834 Updated license name in headers 2017-10-06 13:27:15 -07:00
Brian Vaughn
1de4c66dc6 Added some basic Flow types to get things started 2017-10-05 15:33:18 -07:00
Brian Vaughn
9d9b2021ed Migrated Gatsby website source and config 2017-10-04 14:56:10 -07:00