1.13.5 • Published 27 days ago

@tracktor/react-utils v1.13.5

Weekly downloads
-
License
ISC
Repository
github
Last release
27 days ago

Tracktor React Utils

npm version

A React utils library

Installation

yarn add @tracktor/react-utils

Usage

import { useInputState } from "@tracktor/react-utils";

const App = () => {
  const [value, onChange] = useInputState("");

  return (<input type="text" value={value} onChange={onChange}/>);
}

Hook

useLocalStorage()
useIsMounted()
useIntersectionObserver()
useDebounce()
useToggle()
useScript()
useInputState()
useIsomorphicLayoutEffect()
useDocumentTitle()
useWindowSize()
useEventListener()

Utils

isArray()
isObject()
isRef()
isBoolean()
isNumber()
isString()
isFunction()
removeObjectProperty()

Adapter

addressToString()
formatCreditCardNumber()
getInitials()
priceAdapter()

Convention

1.13.2

27 days ago

1.13.1

27 days ago

1.13.5

27 days ago

1.13.4

27 days ago

1.13.3

27 days ago

1.13.0

27 days ago

1.12.1

2 months ago

1.12.0

3 months ago

1.11.1

4 months ago

1.10.5

7 months ago

1.10.4

7 months ago

1.10.3

7 months ago

1.10.2

9 months ago

1.11.0

6 months ago

1.10.1

11 months ago

1.10.0

1 year ago

1.9.1

1 year ago

1.9.0

1 year ago

1.9.2

1 year ago

1.8.0

1 year ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.1

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.0.2

1 year ago

1.1.0

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.1.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago