Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !11852

Update links for code splitting and dependencies

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/dtran320/patch-1 into main Dec 28, 2021
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: dtran320

Save users a few redirects and 2 clicks by linking to the current docs for code splitting and analyzing bundle size.

More specifically, previously, the link for code splitting pointed to https://goo.gl/9VhYWB, which pointed to https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#code-splitting, which redirects to https://github.com/facebook/create-react-app/blob/main/packages/react-scripts/template/README.md#code-splitting, which displayed a "This file has moved here" pointing to https://github.com/facebook/create-react-app/blob/main/packages/cra-template/template/README.md, which links to the new docs: https://create-react-app.dev/docs/code-splitting/

Similarly, previously, the link for analyzing dependencies/bundle size pointed to https://goo.gl/LeUzfb, which pointed to https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#analyzing-the-bundle-size, which redirected to https://github.com/facebook/create-react-app/blob/main/packages/react-scripts/template/README.md#analyzing-the-bundle-size, which displayed a message "This file has moved here" pointing to https://github.com/facebook/create-react-app/blob/main/packages/cra-template/template/README.md, which links to the new docs: https://create-react-app.dev/docs/analyzing-the-bundle-size/

The bundle size is significantly larger than recommended.
Consider reducing it with code splitting: https://goo.gl/9VhYWB
You can also analyze the project dependencies: https://goo.gl/LeUzfb
file_has_moved file_has_moved_2
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/dtran320/patch-1