sergiodxa / use-safe-callback
Wrap a function to ensure you never call it if a component is unmounted, useful to avoid cases where an async code could finish after a component has unmounted and it tries to update a state
☆12Updated 2 years ago
Alternatives and similar repositories for use-safe-callback:
Users that are interested in use-safe-callback are comparing it to the libraries listed below
- Glob search in constant time thanks to git cache☆26Updated 4 years ago
- Manage state locally and globally in React with signals☆12Updated last year
- a collection of packages to compile Tailwind CSS like shorthand syntax into CSS at runtime☆50Updated 4 years ago
- A Fetch API "Headers" polyfill and transformation library.☆33Updated 7 months ago
- A Babel macro to conditionally import something based on environmental variables.☆51Updated 3 years ago
- React hook for the Device Orientation API☆23Updated 6 years ago
- Replace all instances of "@@strings like this" with hashes.☆35Updated 4 years ago
- ☆17Updated 2 years ago
- Preact bindings for urql☆26Updated 5 years ago
- A React-based ponyfill for `field-sizing: content`☆25Updated last year
- ☆34Updated 6 years ago
- Enhance Next.js development with utilities for local and remote content.☆21Updated last year
- A Vite plugin that enhances jsx transformation for React☆19Updated 4 years ago
- A simple tool for running npm scripts, with monorepo support.☆23Updated 3 years ago
- Performant Calculation of the width and height of a text string using canvas.☆24Updated last year
- 🔀 An npm package for creating complex comparators, tersely and beautifully.☆18Updated 2 years ago
- CLI to collect stats about React usage on a website☆29Updated last year
- Manage request/response cookies in the environments where those are not supported.☆19Updated 9 months ago
- Hooks to leverage the web-animations API in under a kb☆51Updated 3 years ago
- ☆16Updated 6 months ago
- 🚪 Find the entry points in a set of JavaScript files.☆41Updated 5 months ago
- a simple react hook for scroll-locking☆19Updated 2 years ago
- A demo repo designed to benchmark Gatsby build times for sites with lots of large images. Full tutorial:☆12Updated 5 years ago
- Domain Graph core library☆17Updated 2 years ago
- Runtime Config mangement for webpack projects☆15Updated 2 years ago
- perform asynchronous operations synchronously (intended for use with babel-plugin-macros)