All Projects → cvpcasada → Use Measure

cvpcasada / Use Measure

It's just a React hook for resize-observer, uses resize-observer-polyfill.

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to Use Measure

X Apm
应用管理 Xposed
Stars: ✭ 482 (+1908.33%)
Mutual labels:  hook
Virtuallocation
利用Hook技术对APP进行虚拟定位,可修改微信、QQ、以及一些打卡APP等软件,随意切换手机所处位置!
Stars: ✭ 666 (+2675%)
Mutual labels:  hook
Use Web Animations
😎 🍿 React hook for highly-performant and manipulable animations using Web Animations API.
Stars: ✭ 802 (+3241.67%)
Mutual labels:  hook
Superdllhijack
SuperDllHijack:A general DLL hijack technology, don't need to manually export the same function interface of the DLL, so easy! 一种通用Dll劫持技术,不再需要手工导出Dll的函数接口了
Stars: ✭ 530 (+2108.33%)
Mutual labels:  hook
Useeffectreducer
useReducer + useEffect = useEffectReducer
Stars: ✭ 642 (+2575%)
Mutual labels:  hook
Fakerandroid
A tool translate a apk file to stantard android project include so hook api and il2cpp c++ scaffolding when apk is a unity il2cpp game. Write code on a apk file elegantly.
Stars: ✭ 695 (+2795.83%)
Mutual labels:  hook
React Cool Dimensions
😎 📏 React hook to measure an element's size and handle responsive components.
Stars: ✭ 419 (+1645.83%)
Mutual labels:  hook
React Cool Inview
😎 🖥️ React hook to monitor an element enters or leaves the viewport (or another element).
Stars: ✭ 830 (+3358.33%)
Mutual labels:  hook
Hyperdbg
The Source Code of HyperDbg Debugger 🐞
Stars: ✭ 658 (+2641.67%)
Mutual labels:  hook
Webhook
webhook is a lightweight incoming webhook server to run shell commands
Stars: ✭ 7,201 (+29904.17%)
Mutual labels:  hook
React Laag
Hooks to build things like tooltips, dropdown menu's and popovers in React
Stars: ✭ 568 (+2266.67%)
Mutual labels:  hook
Sandvxposed
Xposed environment without root (OS 5.0 - 10.0)
Stars: ✭ 604 (+2416.67%)
Mutual labels:  hook
Use Places Autocomplete
😎 📍 React hook for Google Maps Places Autocomplete.
Stars: ✭ 739 (+2979.17%)
Mutual labels:  hook
Dexcalibur
[Official] Android reverse engineering tool focused on dynamic instrumentation automation. Powered by Frida. It disassembles dex, analyzes it statically, generates hooks, discovers reflected methods, stores intercepted data and does new things from it. Its aim is to be an all-in-one Android reverse engineering platform.
Stars: ✭ 512 (+2033.33%)
Mutual labels:  hook
Robotgo
RobotGo, Go Native cross-platform GUI automation @vcaesar
Stars: ✭ 7,095 (+29462.5%)
Mutual labels:  hook
React Cool Portal
😎 🍒 React hook for Portals, which renders modals, dropdowns, tooltips etc. to <body> or else.
Stars: ✭ 458 (+1808.33%)
Mutual labels:  hook
Scripthookvdotnet
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game.
Stars: ✭ 679 (+2729.17%)
Mutual labels:  hook
React Use Form State
📄 React hook for managing forms and inputs state
Stars: ✭ 898 (+3641.67%)
Mutual labels:  hook
Droidplugin
A plugin framework on android,Run any third-party apk without installation, modification or repackage
Stars: ✭ 6,683 (+27745.83%)
Mutual labels:  hook
Interposekit
A modern library to swizzle elegantly in Swift.
Stars: ✭ 777 (+3137.5%)
Mutual labels:  hook

use-measure

It's just a React hook for resize-observer, uses resize-observer-polyfill. Inspired by react-measure

Install

Note: React 16.8+ is required for Hooks.

With npm

npm i use-measure --save

Or with yarn

yarn add use-measure

Usage

import { useRef } from "react";
import useMeasure from "use-measure";

function MeasuredDiv() {
  const nodeRef = useRef();
  const measurement = useMeasure(nodeRef);
  
  // do whatever you want with measurement obj.
  // note that measurement will only be available after first render.
  return (
    <div ref={nodeRef}>
      /* ... */
    </div>;
  );
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].