Skip to content

Commit

Permalink
chore: remove create react app getting started guide (#4532)
Browse files Browse the repository at this point in the history
Create React App is no longer maintained, so we will no longer recommend it
  • Loading branch information
reesscot authored Oct 17, 2023
1 parent d109fd7 commit 06440f7
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 464 deletions.
1 change: 0 additions & 1 deletion docs/__tests__/__snapshots__/sitemap.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ exports[`Sitemap Snapshot 1`] = `
/react/getting-started/migration,
/react/getting-started/troubleshooting,
/react/getting-started/usage,
/react/getting-started/usage/create-react-app,
/react/getting-started/usage/nextjs,
/react/getting-started/usage/vite,
/react/guides,
Expand Down
8 changes: 8 additions & 0 deletions docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ module.exports = withNextPluginPreval({
'/:platform(react|react-native|angular|vue)/connected-components/authenticator/advanced',
permanent: true,
},
/**
* Redirect traffic from CRA to Vite getting started page
*/
{
source: '/react/getting-started/usage/create-react-app',
destination: '/react/getting-started/usage/vite',
permanent: true,
},
];
},

Expand Down
6 changes: 0 additions & 6 deletions docs/src/data/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -613,12 +613,6 @@ export const gettingStarted: ComponentNavItem[] = [
platforms: ['react'],
tertiary: true,
},
{
href: '/getting-started/usage/create-react-app',
label: 'Create React App',
platforms: ['react'],
tertiary: true,
},
{
href: '/getting-started/figma',
platforms: ['react'],
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 06440f7

Please sign in to comment.