schickling / calculate-size
Calculate the pixel size (width/height) of a string (with integrated caching)
β121Updated 6 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 3 months ago
- Get accurate and well named css box model information about an Element π¦β167Updated 2 years ago
- It's React's useEffect/useMemo/useCallback hooks, except using custom comparison on the inputs, not reference equalityβ87Updated last month
- Preprocessor css modules for Jest test framework. Generates correct css object. Supports css, sass, stylus, less.β61Updated 10 months ago
- Boilerplate for TypeScript librariesβ44Updated 2 years ago
- Automatically externalize `peerDependencies` in a rollup bundle.β110Updated 2 years ago
- Like Reselect but with better support for shared-selectorsβ74Updated 2 years ago
- A storybook addon to display react docgen info.β87Updated last week
- Get any Component replaced. Anywhere. π β»οΈβ44Updated last year
- Babel plugin to cherry-pick ES module imports.β111Updated 2 years ago
- Fast state that can be shared across components outside of the React tree.β72Updated 3 years ago
- React reconciler for DOCX.js.β45Updated 4 years ago
- Run svgr at build-time with babel-plugin-macros.β43Updated this week
- π Final Form "decorator" that will attempt to apply focus to the first field with an error upon an attempted form submissionβ83Updated 2 years ago
- Merges className, style, and event handler props for React elementsβ100Updated 2 years ago
- π Simple solution to handle undo\redo turned into React Hooksβ30Updated this week
- Babel plugin for transpiling legacy browser support to ts-optchain by removing Proxy usage.β30Updated 6 years ago
- Utility functions to help facilitate type-safe routing with react-routerβ89Updated 2 years ago
- πΈ Take screenshots of jsdom with puppeteerβ66Updated 2 years ago
- π£ Babel plugin that returns an object containing paths like __dirname and __filename as static valuesβ33Updated 3 years ago
- Babel plugin to optimize the use of clsx, classnames, and other libraries with a compatible APIβ112Updated last year
- React Hooks for Mutable Stateβ93Updated 2 years ago
- Parses React prop-types into a readable objectβ69Updated 2 years ago
- π€Partial hydration and caching in a pre-suspense eraβ175Updated 2 years ago
- Truncate a long string in the middle, instead of the end.β64Updated 2 years ago
- Simple module that consumes SVG and spits out JSX. As simple as that.β75Updated 2 years ago
- React utility to flatten fragments πβ58Updated 4 years ago
- Wrap a controlled react component, to allow specific prop/handler pairs to be uncontrolledβ200Updated 4 months ago
- Detect overflow and render shadows, fades, arrows, etc.β83Updated 2 years ago
- Component for giving you `onResize`.β48Updated 6 years ago