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:
- A memoization library based on weakmaps. π€― Sometimes cache is kasheβ68Updated last month
- Pre-evaluate code at build-time with babel-macrosβ127Updated 4 years ago
- Parses and determines if a given CSS Media Query matches a set of values via JavaScript.β116Updated last year
- Generate media query string from JSON or javascript objectβ172Updated 6 years ago
- Get accurate and well named css box model information about an Element π¦β171Updated 2 years ago
- π£ Babel plugin that returns an object containing paths like __dirname and __filename as static valuesβ33Updated 4 years ago
- JavaScript implementation of the "accept" attribute for HTML5 input elementβ116Updated 10 months ago
- π€Partial hydration and caching in a pre-suspense eraβ175Updated 2 years ago
- Minimalistic shallow equality check for arrays/objectsβ80Updated 2 years ago
- Load environment variables from .env, .env.local, .env.production, etc. when running a npm or yarn command.β40Updated 2 years ago
- Babel plugin to cherry-pick ES module imports.β112Updated 2 months ago
- Preprocessor css modules for Jest test framework. Generates correct css object. Supports css, sass, stylus, less.β61Updated last year
- Next plugin to allow for compilation of local modules with workspacesβ84Updated 5 years ago
- Automatically externalize `peerDependencies` in a rollup bundle.β111Updated 2 years ago
- Get any Component replaced. Anywhere. π β»οΈβ43Updated 2 years ago
- Syntax highlighter for React, utilizing VDOM for efficient updatesβ111Updated 8 months ago
- πReact way to addEventListenerβ46Updated 6 years ago
- A React hook for resolving promises with Suspense support. <1kb bundle.β165Updated 2 years ago
- Delay a promise a minimum amount of timeβ173Updated 2 weeks ago
- Run svgr at build-time with babel-plugin-macros.β43Updated 2 weeks ago
- A storybook addon to display react docgen info.β87Updated this week
- Like Reselect but with better support for shared-selectorsβ73Updated 2 years ago
- React Hooks for Mutable Stateβ93Updated 2 years ago
- Parses React prop-types into a readable objectβ69Updated 2 years ago
- It's React's useEffect/useMemo/useCallback hooks, except using custom comparison on the inputs, not reference equalityβ89Updated 6 months ago
- π Final Form "decorator" that will attempt to apply focus to the first field with an error upon an attempted form submissionβ83Updated 4 months ago
- A mirror of Facebook's dev-expression Babel pluginβ188Updated 2 weeks ago
- useFormless allow you to control forms in React using react-hook approachβ50Updated 3 years ago
- A dead simple babel-plugin for translating texts in React applicationsβ63Updated 7 years ago
- Measure the real, minified, tree-shaken impact of individual imports into your appβ131Updated 2 years ago