@atomico/hooks
Advanced tools
Comparing version 3.26.2 to 3.26.3
{ | ||
"name": "@atomico/hooks", | ||
"description": "Series of utilities in hooks format to extend the operation of Atomico", | ||
"version": "3.26.2", | ||
"version": "3.26.3", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "workspaces": [ |
import { useEffect } from "atomico"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value"; | ||
import { addListener } from "../use-listener/use-listener"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value.js"; | ||
import { addListener } from "../use-listener/use-listener.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * |
import { useState, useEffect } from "atomico"; | ||
import { Status } from "../use-promise/use-promise"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value"; | ||
import { addListener } from "../use-listener/use-listener"; | ||
export { formToObject } from "@uppercod/form-tools"; | ||
import { Status } from "../use-promise/use-promise.js"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value.js"; | ||
import { addListener } from "../use-listener/use-listener.js"; | ||
/** | ||
@@ -7,0 +7,0 @@ * @type {Options} |
import { useEffect } from "atomico"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value"; | ||
import { addListener } from "../use-listener/use-listener"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value.js"; | ||
import { addListener } from "../use-listener/use-listener.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * @param {import("atomico").Ref} ref |
import { useLayoutEffect, useState } from "atomico"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value.js"; | ||
/** | ||
@@ -4,0 +4,0 @@ * @param {import("atomico").Ref} ref |
import { useEffect, useState } from "atomico"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value.js"; | ||
/** | ||
@@ -4,0 +4,0 @@ * create an instance of MutationObserver for the given reference |
import { useState, useMemo } from "atomico"; | ||
import { Status } from "../use-promise/use-promise"; | ||
import { Status } from "../use-promise/use-promise.js"; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { useListener } from "../use-listener/use-listener"; | ||
import { useListener } from "../use-listener/use-listener.js"; | ||
@@ -3,0 +3,0 @@ /** |
import { useEffect, useState } from "atomico"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value.js"; | ||
@@ -4,0 +4,0 @@ const listenersId = Symbol(); |
import { useEffect, useState } from "atomico"; | ||
import { escape } from "./src/string-escape"; | ||
import { escape } from "./src/string-escape.js"; | ||
@@ -4,0 +4,0 @@ export const escapes = [ |
@@ -5,4 +5,4 @@ import { useState, useEffect } from "atomico"; | ||
export { redirect, getPath } from "./src/history.js"; | ||
import { addListener } from "../use-listener/use-listener"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value"; | ||
import { addListener } from "../use-listener/use-listener.js"; | ||
import { useCurrentValue } from "../use-current-value/use-current-value.js"; | ||
@@ -9,0 +9,0 @@ const DefaultState = {}; |
import { useState, useEffect, Mark } from "atomico"; | ||
import { addListener } from "../use-listener/use-listener"; | ||
import { addListener } from "../use-listener/use-listener.js"; | ||
/** | ||
@@ -4,0 +4,0 @@ * |
76552