@hashicorp/react-link-wrap
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@hashicorp/react-link-wrap", | ||
"description": "Wraps a standard 'a' element to enable nextjs Link usage", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Hashicorp - Jeff Escalante", | ||
@@ -20,3 +20,3 @@ "license": "MPL-2.0", | ||
}, | ||
"gitHead": "e74a03fd1d4e3892eceef3e560b22d46ef64bd74" | ||
"gitHead": "39bd69739fed51fae571027f13d5c3dd7f0d3b57" | ||
} |
@@ -21,4 +21,10 @@ # Link Wrap | ||
### Usage Notes | ||
The `href` passed to this component expects relative urls to be used for internal routes, and absolute urls to be used for external routes. | ||
If this condition is not true, the links may not behave properly. Specifically, in the context of NextJS, this can result in internal links not using client-side transitions, or external links being erroneously prefetched. More info in [this PR](https://github.com/zeit/next.js/pull/8231), and [this open issue](https://github.com/zeit/next.js/issues/8555) could result in changes to this behavior. | ||
### Props | ||
- `Link` - [optional] nextjs link component |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20918
30