UXF Core
Cookie
import { Cookie } from "@uxf/core/cookie";
const cookie = Cookie.create();
const cookie = Cookie.create(ctx);
cookie.has("cookie-name");
cookie.get("cookie-name");
cookie.set("cookie-name", "value", )
cookie.delete("cookie-name");
Hooks
import { useIsMounted } from "@uxf/core/hooks/useIsMounted";
const isMounted = useIsMounted();
Next
import { queryParamToString, queryParamToNumber } from "@uxf/core/next";
queryParamToNumber(ctx.query.id);
queryParamToString(ctx.query.name);
Validators
import { Validator } from "@uxf/core";
Validator.isEmail("...");
Validator.isPhone("...");