Commit Graph

106 Commits

Author SHA1 Message Date
lauren
b6a32d1e0e Add local eslint rule to validate markdown codeblocks with React Compiler (#7988)
In https://github.com/facebook/react/pull/34462 for example, we found an issue where the compiler was incorrectly validating an example straight from the docs.

In order to find more issues like this + also provide more feedback to doc authors on valid/invalid patterns, this PR adds a new local eslint rule which validates all markdown codeblocks containing components/hooks with React Compiler. An autofixer is also provided.

To express that a codeblock has an expected error, we can use the following metadata:

```ts
// pseudo type def
type MarkdownCodeBlockMetadata = {
    expectedErrors?: {
      'react-compiler'?: number[];
    };
  };
```

and can be used like so:

````
```js {expectedErrors: {'react-compiler': [4]}}
//  setState directly in render
function Component({value}) {
  const [count, setCount] = useState(0);
  setCount(value); // error on L4
  return <div>{count}</div>;
}
```
````

Because this is defined as a local rule, we don't have the same granular reporting that `eslint-plugin-react-hooks` yet. I can look into that later but for now this first PR just sets us up with something basic.
2025-09-18 15:32:18 -04:00
lauren
a566d87b2b Add copyright script (#7991)
Copied over our copyright script from the react repo. I made a small fix to handle shebangs.
2025-09-18 14:42:27 -04:00
lauren
5b9a2ce649 Upgrade babel-plugin-react-compiler (#7985)
Happened to notice we were still on an old version of the compiler. This PR upgrades us to use the latest RC.
2025-09-16 11:05:33 -04:00
lauren
e245b77694 [be] Add deadlinks script (#7879)
While rewriting the compiler docs I happened to notice some deadlinks. This PR adds a new `yarn deadlinks` script to identify all deadlinks.

I decided to make this a script for now for simplicity but in the future could be ported to an ESlint rule.

The script handles:

- [x] checks images correctly (images are stored in /public but links can omit the /public)
- [x] looks up React error codes for dynamic error pages
- [x] lints links to contributors and uses URL from acknowledgements page if the member is no longer active on the core team
- [x] special injected anchor tags like #recap and #challenges

Example:

```
yarn run v1.22.22
$ node scripts/deadLinkChecker.js
Checking 177 markdown files...
Fetched 552 React error codes

src/content/learn/add-react-to-an-existing-project.md:23:58
  Link text: React-based frameworks
  URL: /learn/start-a-new-react-project
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/learn/add-react-to-an-existing-project.md:27:45
  Link text: benefit from the best practices
  URL: /learn/start-a-new-react-project#can-i-use-react-without-a-framework
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/learn/add-react-to-an-existing-project.md:152:269
  Link text: a React framework
  URL: /learn/start-a-new-react-project
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/learn/synchronizing-with-effects.md:735:18
  Link text: framework
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/learn/typescript.md:16:3
  Link text: Common types from `@types/react`
  URL: /learn/typescript/#useful-types
  ✗ Target file not found for: /learn/typescript/

src/content/learn/typescript.md:17:3
  Link text: Further learning locations
  URL: /learn/typescript/#further-learning
  ✗ Target file not found for: /learn/typescript/

src/content/learn/typescript.md:23:5
  Link text: production-grade React frameworks
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/learn/you-might-not-need-an-effect.md:29:399
  Link text: frameworks
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/learn/you-might-not-need-an-effect.md:754:106
  Link text: frameworks
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/learn/your-first-component.md:218:1
  Link text: React-based frameworks
  URL: /learn/start-a-new-react-project
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react/ViewTransition.md:146:248
  Link text: reveal content
  URL: /link-to-suspense-below
  ✗ Target file not found for: /link-to-suspense-below

src/content/reference/react/captureOwnerStack.md:60:94
  Link text: `errorInfo.componentStack` in `onUncaughtError`
  URL: /reference/react-dom/client/hydrateRoot#show-a-dialog-for-uncaught-errors
  ✗ Anchor #show-a-dialog-for-uncaught-errors not found in reference/react-dom/client/hydrateRoot.md

src/content/reference/react/forwardRef.md:9:65
  Link text: here
  URL: /blog/2024/04/25/react-19#ref-as-a-prop
  ✗ Target file not found for: /blog/2024/04/25/react-19

src/content/reference/react/use.md:315:24
  Link text: Server Component
  URL: /reference/react/components#server-components
  ✗ Anchor #server-components not found in reference/react/components.md

src/content/reference/react/useEffect.md:899:67
  Link text: if you use a framework,
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react/useEffect.md:1051:18
  Link text: framework
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react/useEffect.md:1736:92
  Link text: framework
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react/useInsertionEffect.md:136:65
  Link text: non-blocking update,
  URL: /reference/react/useTransition#marking-a-state-update-as-a-non-blocking-transition
  ✗ Anchor #marking-a-state-update-as-a-non-blocking-transition not found in reference/react/useTransition.md

src/content/reference/react-dom/createPortal.md:53:76
  Link text: key.
  URL: /learn/rendering-lists/#keeping-list-items-in-order-with-key
  ✗ Target file not found for: /learn/rendering-lists/

src/content/reference/react-dom/index.md:24:1
  Link text: React-based frameworks
  URL: /learn/start-a-new-react-project
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react-dom/index.md:51:3
  Link text: `unmountComponentAtNode`
  URL: /reference/react-dom/unmountComponentAtNode
  ✗ Target file not found for: /reference/react-dom/unmountComponentAtNode

src/content/reference/react-dom/preinit.md:7:1
  Link text: React-based frameworks
  URL: /learn/start-a-new-react-project
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react-dom/preinitModule.md:7:1
  Link text: React-based frameworks
  URL: /learn/start-a-new-react-project
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react-dom/preload.md:7:1
  Link text: React-based frameworks
  URL: /learn/start-a-new-react-project
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react-dom/preloadModule.md:7:1
  Link text: React-based frameworks
  URL: /learn/start-a-new-react-project
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/rsc/directives.md:13:36
  Link text: bundlers compatible with React Server Components
  URL: /learn/start-a-new-react-project#full-stack-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/rsc/server-components.md:7:34
  Link text: React Server Components
  URL: /learn/start-a-new-react-project#full-stack-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/rsc/server-functions.md:198:28
  Link text: `useActionState`
  URL: /reference/react-dom/hooks/useFormState
  ✗ Target file not found for: /reference/react-dom/hooks/useFormState

src/content/reference/rsc/server-functions.md:222:28
  Link text: `useActionState`
  URL: /reference/react-dom/hooks/useFormState
  ✗ Target file not found for: /reference/react-dom/hooks/useFormState

src/content/reference/rsc/use-client.md:44:77
  Link text: compatible bundlers
  URL: /learn/start-a-new-react-project#full-stack-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/rsc/use-server.md:98:54
  Link text: serializable props
  URL: /reference/rsc/use-client#passing-props-from-server-to-client-components
  ✗ Anchor #passing-props-from-server-to-client-components not found in reference/rsc/use-client.md

src/content/reference/react-dom/client/createRoot.md:212:278
  Link text: using a framework
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react-dom/client/index.md:7:185
  Link text: framework
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react-dom/components/common.md:919:89
  Link text: check out more examples.
  URL: /reference/react/useRef#examples-dom
  ✗ Anchor #examples-dom not found in reference/react/useRef.md

src/content/reference/react-dom/components/form.md:39:23
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/form.md:233:63
  Link text: reference documentation
  URL: /reference/react/hooks/useOptimistic
  ✗ Target file not found for: /reference/react/hooks/useOptimistic

src/content/reference/react-dom/components/input.md:33:24
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/link.md:33:23
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/meta.md:33:23
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/option.md:39:25
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/progress.md:33:27
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/script.md:34:25
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/select.md:39:25
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/style.md:33:24
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/textarea.md:33:27
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/components/title.md:33:24
  Link text: common element props.
  URL: /reference/react-dom/components/common#props
  ✗ Anchor #props not found in reference/react-dom/components/common.md

src/content/reference/react-dom/server/index.md:7:182
  Link text: framework
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/reference/react-dom/static/index.md:7:146
  Link text: framework
  URL: /learn/start-a-new-react-project#production-grade-react-frameworks
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/blog/2023/03/16/introducing-react-dev.md:45:5
  Link text: API Reference
  URL: /reference
  ✗ Target file not found for: /reference

src/content/blog/2023/03/16/introducing-react-dev.md:610:117
  Link text: Alternatives
  URL: /reference/react-dom/findDOMNode#alternatives
  ✗ Target file not found for: /reference/react-dom/findDOMNode

src/content/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023.md:34:40
  Link text: Next.js App Router
  URL: /learn/start-a-new-react-project#nextjs-app-router
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023.md:95:605
  Link text: Next.js App Router
  URL: /learn/start-a-new-react-project#nextjs-app-router
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024.md:110:3
  Link text: Sathya Gunasekaran
  URL: /community/team#sathya-gunasekaran
  ✗ Contributor link should be updated to: https://github.com/gsathya

src/content/blog/2024/04/25/react-19-upgrade-guide.md:132:20
  Link text: improved how errors are handled
  URL: /blog/2024/04/25/react-19#error-handling
  ✗ Target file not found for: /blog/2024/04/25/react-19

src/content/blog/2024/04/25/react-19-upgrade-guide.md:502:19
  Link text: `ref` as a prop
  URL: /blog/2024/04/25/react-19#ref-as-a-prop
  ✗ Target file not found for: /blog/2024/04/25/react-19

src/content/blog/2024/12/05/react-19.md:358:391
  Link text: Full-stack React Architecture
  URL: /learn/start-a-new-react-project#which-features-make-up-the-react-teams-full-stack-architecture-vision
  ✗ Target file not found for: /learn/start-a-new-react-project

src/content/blog/2024/12/05/react-19.md:392:28
  Link text: React Server Actions
  URL: /reference/rsc/server-actions
  ✗ Target file not found for: /reference/rsc/server-actions

src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md:2498:37
  Link text: view transition classes
  URL: /reference/react/ViewTransition#view-transition-classes
  ✗ Anchor #view-transition-classes not found in reference/react/ViewTransition.md


Found 58 dead links out of 1555 total links

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

```
2025-07-18 17:19:40 -04:00
Noritaka Kobayashi
c0c955ed1d chore: remove unused date-fns (#7856) 2025-06-28 15:20:02 -04:00
dan
af0358f1d2 Revert "feat: migrate React.dev to the App Router (#7437)" (#7466)
This reverts commit 0eb0f889b1.
2025-02-01 19:21:43 +00:00
Jimmy Lai
0eb0f889b1 feat: migrate React.dev to the App Router (#7437)
* update version to latest + move folders around

* getting home page working

* make the mdx setup work

* bypass mdxname

* split out mdx components

* re-add meta mdx logic

* replace mdxName usage

* fix code blocks

* fix max width

* convert mdx post processing to actual plugins

* fix tailwind

* fix incorrect iframe props

* cleanup mdx dic

* make it actually build

* align fonts

* fix uwu script

* fix search

* remove _app

* make it actually build

* replace next-watch-remote with custom setup

* clean up logs + clean up inline scripts

* add rss handler

* remove rss generation

* remove rss generation

* support MDX components for TOC

* clean up log + bump cache

* fix toc

* add back translations + add new overlay

* use MDX link instead of Next.js links for translation

* fix analytics

* add myself to the contributors

* fix blinking sidebar

* avoid rendering toc on the client

* plugin metadata

* simplify metadata

* fix title

* clean up metadata

* add back error decoder

* Update src/content/learn/index.md

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
2025-02-01 11:35:16 -05:00
Phanendra Guptha Katta
066b6c1ee8 bumped up the versions of docsearch packages (#7458) 2025-01-27 12:33:37 -05:00
lauren
316230adfc Update React compiler and install eslint plugin (#7428) 2025-01-13 17:53:40 -05:00
Matt Carroll
855ce2373d Upgrade to React 19, Next 15.1 and enable React Compiler (#6996)
Co-authored-by: Sebastian Markbåge <sebastian@calyptus.eu>
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>
Co-authored-by: eps1lon <sebastian.silbermann@vercel.com>
2025-01-13 08:48:01 -08:00
Ricky
e2f089d7bd Fix search results ranking and grouping (#7183) 2024-09-23 15:51:24 -04:00
Ricky
169d5c1820 Add branding context menu (#6986) 2024-06-20 10:56:59 -04:00
Batuhan Tomo
b7bf6c16fb Fix Node.js version update at package.json (#6855)
* Fix #6854: node.js version upgrade

* Fix #6854: node.js version update
2024-05-10 20:03:45 +05:30
Ricky
cf53cb5d52 Add rss feed (#6803)
* Add rss feed

* Add rss feed

* rss readers don't like å characters
2024-04-26 11:56:47 -04:00
Faridul Islam
9748943432 Update Node.js version in engines into package.json file (^21.0.0) (#6728)
Signed-off-by: Faridul Islam <foridpathan45@gmail.com>
2024-03-31 11:38:56 -04:00
Danilo Woznica
5de85198a3 fix: Update sandpack-react version to 2.13.5 (#6668) 2024-03-08 10:05:50 -05:00
Danilo Woznica
6d8e094d33 fix: Update @codesandbox/sandpack-react version to 2.13.4 (#6664)
* fix: Update @codesandbox/sandpack-react version to 2.13.3

* fix: Fixed bundlerURL  to use the correct URL

* fix: Update @codesandbox/sandpack-react to version 2.13.4

* style: Hide span element in sp-icon-standalone when loading
2024-02-28 00:59:37 +05:30
Strek
9ceb0572c9 Revert "fix(sandpack): clear up bundler timeout when there's a syntax error (…" (#6663)
This reverts commit 081d1008dd.
2024-02-26 23:41:23 +05:30
Danilo Woznica
081d1008dd fix(sandpack): clear up bundler timeout when there's a syntax error (#6659)
* fix: Update @codesandbox/sandpack-react version to 2.13.1

* fix: Updated the bundlerURL  to use a new URL
2024-02-24 11:11:15 -05:00
Prajwal Kulkarni
9c316b206f Upgrade tailwind version (#6550)
* Fix overflowing text content in footer link

Add an ellipsis to overflowing text in the footer section for navigating between different references.

* Add min and max width to nextlink class

* Add minwidth to tailwind config

* Wrap string beyond max width

* Remove title attribute from span element

* Upgrade tailwind to 3.4.1

* Remove manual width config from minWidth

* Remove minWidth from tailwind config and preserve default value of min-w-xs
2024-01-17 20:59:40 -05:00
Kathryn Middleton
717f9b5da0 Remove unsupported ga-lite and update existing calls to GA4 (#6366)
* Cleanup old ga-lite tag and refactor GA4

* cleanup

* cleanup2
2023-10-24 07:35:15 -07:00
Rogin Farrer
900a6693ef Upgrade react-collapsed (#5893)
* Upgrade react-collapsed

* 4.0.4

---------

Co-authored-by: Rogin Farrer <rfarrer@wayfair.com>
2023-10-10 21:50:12 -04: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
Ahmed Abdelbaset
819518cfe3 RTL Languages Support (#6138)
* Update TailwindCSS & Install rtl-detect
1- Update TailwindCSS to use the logical properities such as `ps-1` instead of `pl-1`.
there are logical properities for margin, padding, inset, and text direction.

2- Install `rtl-detect` detect if the language is RTL direction.
Note: this might be uninstalled if we use the manual way to specify rtl language.

* add `siteConfig.isRTL`

* add `dir` attribute to the root element

* edit some tw classes to utilize logical properties
instead of directions properties
(e.g. `pr-0` to `pe-0`)

* edit some tw classes to utilize logical properties
instead of directions properties
(e.g. `pr-0` to `pe-0`)

* edit some tw classes to utilize logical properties
instead of directions properties
(e.g. `pr-0` to `pe-0`)

* edit some tw classes to utilize logical properties
instead of directions properties
(e.g. `pr-0` to `pe-0`)

* Refactor TW classes: Use logical properties over directional properties.

* Revert "Refactor TW classes: Use logical properties over directional properties."

This reverts commit df9620d944.

* Refactor TW classes: Use logical properties over directional properties.

* Refactor TW classes: Use logical properties over directional properties.

* Refactor TW classes: Use logical properties over directional properties.

* Add `start` and `end` directions to the `IconNavArrow`

* Add Note about `isRTL` prop

* Refactor TW classes: Use logical properties over directional properties.

* Refactor TW classes: Use logical properties over directional properties.

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* set dir attr of `CodeBlock` to `ltr` even the page dir is `rtl`

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Add `start` and `end` directions to some icons

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* set dir attr of `ConsoleBlock` to `ltr` to overwrite the dir of root element

* Refactor TW classes: use logical properties over directional properties

* set dir=ltr on inline code blocks to overwrite <html dir="rtl"> in some languages

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* set translate=no, dir=ltr on `TerminalBlock` to overwrite <html dir="rtl"> in rtl languages

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* fix some direction styles

* fix arrow directions in rtl

* remove `rtl-detect` and set `siteConfig.isRTL` manually

* fix `Breadcrumbs`'s arrow direction in rtl languages

* fix some directions of the search modal for RTL languages

* hard setting dir=ltr to Sandpack to overwrite rtl languages dir

* Refactor TW classes: use logical properties over directional properties

* remove my notes

* fix: rerverse space-x-* in rtl

* rebase with the main branch

* remove unnecessary alt

* add `start` & `end` display directions to the Chevron Icon

* rebase with the main branch
2023-08-11 15:42:12 -04:00
Sophie Alpert
1b5e8861ab Upgrade React and Next (#6011)
* Upgrade React and Next

* Fix bug in useNestedScrollLock

I guess refs get disconnected before passive effect cleanup runs. useLayoutEffect would also fix it but maybe this is better.
2023-05-19 17:44:58 +01:00
Dan Abramov
5e1ec56701 Download all fonts 2023-03-29 22:54:03 +01:00
Dan Abramov
a77fa5589c Fix Git hooks 2023-03-20 23:15:12 +00: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
dan
ebf94d3da9 Override sharp version (#4554) 2022-04-06 19:33:36 +01:00
dependabot[bot]
61a6cd7722 Bump prismjs from 1.25.0 to 1.27.0 (#4386)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 16:45:22 +05:30
Nathan Somsa-ard
aeb17885d7 add the current LTS Node version (#4367) 2022-02-21 11:49:24 +00:00
Rachel Nabors
926dbeeb7c Re-add public folder 2021-10-28 22:27:24 +01:00
Dan Abramov
b62e4475d6 Kick off build 2021-10-21 22:53:47 +01:00
Dan Abramov
064aed8d1c Add build-ci alias 2021-10-21 22:51:44 +01:00
dependabot[bot]
57f5924ac4 Bump prismjs from 1.21.0 to 1.25.0 (#3916) 2021-09-21 06:27:16 +00:00
Dan Abramov
f5784cb138 Use React 17.0.2 (#3590) 2021-03-22 23:00:32 +00:00
rod
5e2a231e02 Updated eslint-plugin-react to 7.21.5 & eslint-plugin-jsx-a11y to 6.4.1 (#3370)
These updates fix issue #3120. The real problem was in jsx-ast-utils
which is a dependency of both eslint-plugin-react &
eslint-plugin-jsx-a11y
2021-01-27 12:06:49 -05:00
Dan Abramov
433acaa34d Update to 17.0.1 2020-10-22 13:27:57 +01:00
Dan Abramov
55f1662337 Update to React 17 (#3343) 2020-10-20 21:57:29 +01:00
Dan Abramov
b5003c10d1 Update for the new releases 2020-10-14 21:05:59 +01:00
Dan Abramov
491f7acb31 Tweak build command 2020-10-09 02:31:58 +01:00
Dan Abramov
4136a135ad Update to React 17 RC2 (#3276) 2020-09-22 14:50:37 +01:00
Vladimir Razuvaev
81bfee964d Fix issues on Windows (#3213)
* Upgrade gatsby-remark-code-repls

* fix path issue on Windows

Gatsby uses `slash` to normalize paths. Because of this `path.join` causes an issue on Windows
2020-08-19 14:12:35 -04:00
Dan Abramov
80c16779a7 Regenerate lockfile 2020-08-07 21:20:41 +01:00
Andrew Clark
e9cdc81ff3 Update for 16.13.1 (#2845) 2020-03-19 14:42:53 -07: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
Sunil Pai
1b5c6d3d13 Blog post for v16.13.0 (#2779)
* Blogpost for v16.13.0

* Tweak

* Update 2020-03-02-react-v16.13.0.md

* update react/react-dom versions

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2020-02-26 20:44:54 +00:00
Luna Ruan
0fb4b10aeb Update for 16.12 (#2568) 2019-11-14 19:03:35 -08:00
Andrew Clark
b3ff55f163 Update for 16.10.2 (#2392) 2019-10-03 14:59:19 -07:00