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
  • Issues
  • #12546
Closed
Open
Issue created Jun 25, 2022 by Administrator@rootContributor

Remove `noopener` on external link anchors

Created by: gergelypap

Problem

As of 2021, the spec have changed on how target="_blank" anchor elements use openers. The usage of rel="noreferrer" implies noopener as well by default. See the spec mentioning this: https://html.spec.whatwg.org/multipage/links.html#link-type-noreferrer

Solution

We should remove noopener on target="_blank" anchors, as there is no need to include it anymore. It can be tested on https://mathiasbynens.github.io/rel-noopener/

Additional context

The react/jsx-no-target-blank lint rule is fine with only including noreferrer as the value.

Assignee
Assign to
Time tracking