schickling / calculate-sizeLinks
Calculate the pixel size (width/height) of a string (with integrated caching)
β121Updated 7 years ago
Alternatives and similar repositories for calculate-size
Users that are interested in calculate-size are comparing it to the libraries listed below
Sorting:
- Parses and determines if a given CSS Media Query matches a set of values via JavaScript.β116Updated 10 months ago
- A memoization library based on weakmaps. π€― Sometimes cache is kasheβ68Updated 5 months ago
- Get accurate and well named css box model information about an Element π¦β168Updated 2 years ago
- Pre-evaluate code at build-time with babel-macrosβ126Updated 4 years ago
- Useful utility functions for CSS in JS solutionsβ76Updated last year
- π Final Form "decorator" that will attempt to apply focus to the first field with an error upon an attempted form submissionβ83Updated last month
- Babel plugin to cherry-pick ES module imports.β112Updated 2 years ago
- Generate media query string from JSON or javascript objectβ172Updated 6 years ago
- Minimalistic shallow equality check for arrays/objectsβ79Updated 2 years ago
- A jest extension to deal with screenshots and all sorts of images.β71Updated 3 years ago
- π§ React memoization library we all deserveβ129Updated 5 years ago
- π€Partial hydration and caching in a pre-suspense eraβ175Updated 2 years ago
- π£ Babel plugin that returns an object containing paths like __dirname and __filename as static valuesβ33Updated 3 years ago
- It's React's useEffect/useMemo/useCallback hooks, except using custom comparison on the inputs, not reference equalityβ88Updated 3 months ago
- Preprocessor css modules for Jest test framework. Generates correct css object. Supports css, sass, stylus, less.β61Updated last year
- Automatically externalize `peerDependencies` in a rollup bundle.β111Updated 2 years ago
- Get any Component replaced. Anywhere. π β»οΈβ44Updated 2 years ago
- Syntax highlighter for React, utilizing VDOM for efficient updatesβ110Updated 5 months ago
- βοΈ React hook for memoizing values inline anywhere in a componentβ166Updated last year
- β37Updated 5 years ago
- Read file contents at build time via babel-plugin-macros or SWC plugin.β149Updated last year
- Displays a report of JSX component and prop usageβ92Updated 4 years ago
- React Hooks for Mutable Stateβ93Updated 2 years ago
- React Hook to track the visibility of a functional componentβ49Updated 6 years ago
- Add component's name in `data-qa` attributes to React Componentsβ42Updated 3 years ago
- Merges className, style, and event handler props for React elementsβ100Updated 2 years ago
- β64Updated 4 years ago
- πReact way to addEventListenerβ47Updated 6 years ago
- Detect overflow and render shadows, fades, arrows, etc.β84Updated 2 years ago
- Parses React prop-types into a readable objectβ69Updated 2 years ago