@react-hookz/web
Advanced tools
Comparing version 1.23.0 to 1.24.0
@@ -0,1 +1,8 @@ | ||
# [1.24.0](https://github.com/react-hookz/web/compare/v1.23.0...v1.24.0) (2021-05-26) | ||
### Features | ||
* `useTitle` -> `useDocumentTitle` ([24daf77](https://github.com/react-hookz/web/commit/24daf778815564185fd0c7c34c19011dea8b1e37)) | ||
# [1.23.0](https://github.com/react-hookz/web/compare/v1.22.0...v1.23.0) (2021-05-25) | ||
@@ -2,0 +9,0 @@ |
@@ -21,2 +21,2 @@ export { useDebounceCallback } from './useDebounceCallback'; | ||
export { useResizeObserver, IUseResizeObserverCallback } from './useResizeObserver'; | ||
export { useTitle, IUseTitleOptions } from './useTitle'; | ||
export { useDocumentTitle, IUseDocumentTitleOptions } from './useDocumentTitle'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useTitle = exports.useResizeObserver = exports.useSessionStorageValue = exports.useLocalStorageValue = exports.useSyncedRef = exports.useNetworkState = exports.useToggle = exports.useSafeState = exports.usePrevious = exports.useMediatedState = exports.useUpdateEffect = exports.useUnmountEffect = exports.useRerender = exports.useMountEffect = exports.useIsomorphicLayoutEffect = exports.useIsMounted = exports.useFirstMountState = exports.useConditionalUpdateEffect = exports.useConditionalEffect = exports.useRafCallback = exports.useDebounceCallback = void 0; | ||
exports.useDocumentTitle = exports.useResizeObserver = exports.useSessionStorageValue = exports.useLocalStorageValue = exports.useSyncedRef = exports.useNetworkState = exports.useToggle = exports.useSafeState = exports.usePrevious = exports.useMediatedState = exports.useUpdateEffect = exports.useUnmountEffect = exports.useRerender = exports.useMountEffect = exports.useIsomorphicLayoutEffect = exports.useIsMounted = exports.useFirstMountState = exports.useConditionalUpdateEffect = exports.useConditionalEffect = exports.useRafCallback = exports.useDebounceCallback = void 0; | ||
// Callback | ||
@@ -52,3 +52,3 @@ var useDebounceCallback_1 = require("./useDebounceCallback"); | ||
// Dom | ||
var useTitle_1 = require("./useTitle"); | ||
Object.defineProperty(exports, "useTitle", { enumerable: true, get: function () { return useTitle_1.useTitle; } }); | ||
var useDocumentTitle_1 = require("./useDocumentTitle"); | ||
Object.defineProperty(exports, "useDocumentTitle", { enumerable: true, get: function () { return useDocumentTitle_1.useDocumentTitle; } }); |
@@ -21,2 +21,2 @@ export { useDebounceCallback } from './useDebounceCallback'; | ||
export { useResizeObserver, IUseResizeObserverCallback } from './useResizeObserver'; | ||
export { useTitle, IUseTitleOptions } from './useTitle'; | ||
export { useDocumentTitle, IUseDocumentTitleOptions } from './useDocumentTitle'; |
@@ -29,2 +29,2 @@ // Callback | ||
// Dom | ||
export { useTitle } from "./useTitle.js"; | ||
export { useDocumentTitle } from "./useDocumentTitle.js"; |
@@ -21,2 +21,2 @@ export { useDebounceCallback } from './useDebounceCallback'; | ||
export { useResizeObserver, IUseResizeObserverCallback } from './useResizeObserver'; | ||
export { useTitle, IUseTitleOptions } from './useTitle'; | ||
export { useDocumentTitle, IUseDocumentTitleOptions } from './useDocumentTitle'; |
@@ -29,2 +29,2 @@ // Callback | ||
// Dom | ||
export { useTitle } from "./useTitle.js"; | ||
export { useDocumentTitle } from "./useDocumentTitle.js"; |
{ | ||
"name": "@react-hookz/web", | ||
"version": "1.23.0", | ||
"version": "1.24.0", | ||
"description": "React hooks done right, for browser and SSR.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -122,1 +122,6 @@ <div align="center"> | ||
— Uses ResizeObserver to track element dimensions and re-render component when they change. | ||
- #### Dom | ||
- [**`useDocumentTitle`**](https://react-hookz.github.io/?path=/docs/dom-usedocumenttitle) | ||
— Sets title of the page. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169331
127