react-hash-link
Advanced tools
Comparing version
{ | ||
"name": "react-hash-link", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "lib/index.js", | ||
@@ -16,4 +16,6 @@ "license": "MIT", | ||
}, | ||
"peerDependencies": { | ||
"react": ">=16" | ||
}, | ||
"dependencies": { | ||
"react": "^16.8.6", | ||
"react-loadable": "^5.5.0" | ||
@@ -20,0 +22,0 @@ }, |
@@ -5,2 +5,4 @@ # 🖇react-hash-link🖇 | ||
[](https://www.npmjs.com/package/react-hash-link) | ||
The `HashLinkObserver` component can be rendered at any level of your component tree and will watch for hash fragments in your URL. When a hash link is encountered, the `HashLinkObserver` will scroll to the corresponding element on the page with `id="Your-Hash-ID"`. | ||
@@ -7,0 +9,0 @@ |
11061
1.18%111
1.83%+ Added
- Removed
- Removed