schickling / calculate-size
Calculate the pixel size (width/height) of a string (with integrated caching)
☆121Updated 6 years ago
Related projects ⓘ
Alternatives and complementary repositories for calculate-size
- It's React's useEffect/useMemo/useCallback hooks, except using custom comparison on the inputs, not reference equality☆84Updated last year
- Get accurate and well named css box model information about an Element 📦☆165Updated last year
- A memoization library based on weakmaps. 🤯 Sometimes cache is kashe☆68Updated 5 months ago
- Automatically externalize `peerDependencies` in a rollup bundle.☆109Updated last year
- A React hook for resolving promises with Suspense support. <1kb bundle.☆162Updated last year
- Get any Component replaced. Anywhere. 🛠♻️☆44Updated last year
- A Node.js CLI and equivalent JS API to find unused ECMAScript module exports in a project.☆57Updated last month
- Babel plugin to cherry-pick ES module imports.☆110Updated last year
- 👣 Babel plugin that returns an object containing paths like __dirname and __filename as static values☆32Updated 3 years ago
- Pass props to internal elements of React component☆28Updated last year
- Like Reselect but with better support for shared-selectors☆74Updated last year
- Preprocessor css modules for Jest test framework. Generates correct css object. Supports css, sass, stylus, less.☆61Updated 5 months ago
- Parses and determines if a given CSS Media Query matches a set of values via JavaScript.☆113Updated 2 months ago
- Three ways to use Comlink web workers through React Hooks (and in a typesafe manner).☆46Updated 5 years ago
- Next plugin to allow for compilation of local modules with workspaces☆84Updated 4 years ago
- Simple BroadcastChannel polyfill for browsers with MessageChannel API onboard☆34Updated 4 years ago
- Collection of hook-based memoized selector factories for declarations outside of render.☆85Updated 6 years ago
- Control flow JSX/TSX elements that get compiled to plain old javascript.☆93Updated 10 months ago
- ESLint Plugin for monorepos☆75Updated last year
- Parses React prop-types into a readable object☆69Updated last year
- Measure the real, minified, tree-shaken impact of individual imports into your app☆130Updated last year
- utility to return a react components display name☆59Updated last year
- Babel plugin to optimize the use of clsx, classnames, and other libraries with a compatible API☆111Updated 10 months ago
- Fast state that can be shared across components outside of the React tree.☆72Updated 2 years ago
- General Layout System for React☆55Updated last year
- Babel plugin for transpiling legacy browser support to ts-optchain by removing Proxy usage.☆30Updated 5 years ago
- Boilerplate for TypeScript libraries☆44Updated 2 years ago
- HOC that consumes multiple contexts and pass as props to components☆18Updated 3 years ago
- Generic wrapper for React's createPortal allowing for rendering portals on the server☆67Updated 2 years ago