Skip to content

Commit

Permalink
chore: add docs for react 19 and next.js 15 (#6008)
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker authored Nov 21, 2024
1 parent e741d6c commit 9ef1430
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/app/component-testing/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ following development servers and frameworks:

| Framework | UI Library | Bundler |
| ------------------------------------------------------------------------------------------------------------------ | ------------- | ----------- |
| [React with Vite](/app/component-testing/react/overview#React-with-Vite) | React 18 | Vite 4-5 |
| [React with Webpack](/app/component-testing/react/overview#React-with-Webpack) | React 18 | Webpack 4-5 |
| [Next.js 14](/app/component-testing/react/overview#Nextjs) | React 18 | Webpack 5 |
| [React with Vite](/app/component-testing/react/overview#React-with-Vite) | React 18-19 | Vite 4-5 |
| [React with Webpack](/app/component-testing/react/overview#React-with-Webpack) | React 18-19 | Webpack 4-5 |
| [Next.js 14-15](/app/component-testing/react/overview#Nextjs) | React 18-19 | Webpack 5 |
| [Vue with Vite](/app/component-testing/vue/overview#Vue-with-Vite) | Vue 3 | Vite 4-5 |
| [Vue with Webpack](/app/component-testing/vue/overview#Vue-with-Webpack) | Vue 3 | Webpack 4-5 |
| [Angular](/app/component-testing/angular/overview#Framework-Configuration) | Angular 17-18 | Webpack 5 |
Expand Down
11 changes: 9 additions & 2 deletions docs/app/component-testing/react/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ sidebar_label: Overview

## Framework Support

Cypress Component Testing currently supports React 18 with the following
Cypress Component Testing currently supports React 18 and 19 with the following
frameworks:

- [React with Vite](#React-with-Vite)
- [React with Webpack](#React-with-Webpack)
- [Next.js](#Nextjs)

:::caution

Cypress currently supports the release candidate (rc) of React 19. Though unlikely, release candidates are subject to change and could cause unprecedented issues with the React 19 release candidate and Cypress Component Testing.

:::

## Tutorial

Visit the
Expand Down Expand Up @@ -146,7 +152,7 @@ it via the `webpackConfig` option.

### Next.js

Cypress Component Testing works with Next.js 14+.
Cypress Component Testing works with Next.js 14 and Next.js 15.

#### Next.js Configuration

Expand Down Expand Up @@ -185,6 +191,7 @@ Next.js pages and Component Testing for individual components in a Next.js app.
#### Sample Next.js Apps

- [Next.js 14 with TypeScript](https://github.com/cypress-io/cypress-component-testing-apps/tree/main/react-next14-ts)
- [Next.js 15 with TypeScript](https://github.com/cypress-io/cypress-component-testing-apps/tree/main/react-next15-ts)

## Community Resources

Expand Down

0 comments on commit 9ef1430

Please sign in to comment.