Skip to content

Commit

Permalink
Add section about overriding for trusted links
Browse files Browse the repository at this point in the history
  • Loading branch information
aschriner committed Oct 2, 2019
1 parent d7d2a01 commit edb468c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/jsx-no-target-blank.md
Expand Up @@ -73,6 +73,8 @@ var Hello = <Link target="_blank" to="relative/path/in/the/host"></Link>
var Hello = <Link target="_blank" to="/absolute/path/in/the/host"></Link>
var Hello = <Link />
```
## When To Override It
For internal links, or links to a "safe" host, you may want to keep the HTTP Referer header for analytics purposes.

## When Not To Use It

Expand Down

0 comments on commit edb468c

Please sign in to comment.