1.7.0 • Published 6 months ago
react-kanca v1.7.0
react-kanca
React-kanca, karmaşıklığı azaltarak projelerinizin daha okunabilir, yönetilebilir ve yeniden kullanılabilir olmasını sağlar. React projelerinde tekrar eden kodları azaltarak geliştirici deneyimini iyileştirmeyi amaçlamaktadır.
react kanca storybook demo linki: react-kanca.com 🔗
react kanca npm linki: react-kanca npm 🔗
☕️ Kurulum
yarn add react-kanca
npm install react-kanca
pnpm i react-kanca
🧠 Kullanım
import {
useBatteryInfo,
useBeforeUnload,
useClickOutside,
useColorScheme,
useConnection,
useCookie,
useCopyToClipboard,
useDebounce,
useDocumentTitle
useEqualObject,
useFetch,
useForceUpdate,
useFullScreen,
useGeolocation,
useHover,
useIntersectionObserver,
useInterval,
useIsFirstRender,
useLocalStorage,
useMedia,
useMobileLandscape,
useMousePageLeave,
useMultiStateValidator,
useOnlineStatus,
usePageLeave,
usePageVisible,
usePreferredLanguage,
usePrevious,
useScrolling,
useScrollLock,
useScrollToElement,
useSelection,
useSessionStorage,
useStateValidator,
useThrottle,
useToggle,
useUpdateEffect,
useURLSearchParams,
useWindowScroll,
useWindowSize,
ErrorBoundaryKanca,
useUserAnalytics,
useDisableActions
} from 'react-kanca'
// import 'react-kanca/dist/index.css'
const App = () => {
const { width, height } = useWindowSize()
const isVisible = usePageVisible()
.
.
.
}
Lisans
MIT © anilcanboga
1.7.0
6 months ago
1.6.1
7 months ago
1.6.0
7 months ago
1.4.6
10 months ago
1.4.5
10 months ago
1.4.4
10 months ago
1.4.3
10 months ago
1.4.2
10 months ago
1.5.0
10 months ago
1.4.1
10 months ago
1.3.2
12 months ago
1.4.0
10 months ago
1.3.1
12 months ago
1.4.8
10 months ago
1.4.7
10 months ago
1.2.0
1 year ago
1.3.0
1 year ago
1.1.0
1 year ago
1.0.0
1 year ago