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
- ☆27Updated 3 months ago
- React hook for the Device Orientation API☆23Updated 6 years ago
- Runtime Config mangement for webpack projects☆15Updated 2 years ago
- A Vite plugin that enhances jsx transformation for React☆19Updated 4 years ago
- A simple React Hook for infinite scrolling built on the Intersection Observer API☆19Updated 2 years ago
- a collection of packages to compile Tailwind CSS like shorthand syntax into CSS at runtime☆50Updated 4 years ago
- Log a state or prop every time it changes☆12Updated 2 years ago
- CLI to collect stats about React usage on a website☆29Updated last year
- A Babel macro to conditionally import something based on environmental variables.☆51Updated 3 years ago
- ☆25Updated 6 years ago
- Replace all instances of "@@strings like this" with hashes.☆35Updated 4 years ago
- A Fetch API "Headers" polyfill and transformation library.☆33Updated 7 months ago
- a simple react hook for scroll-locking☆19Updated 2 years ago
- ☆17Updated 2 years ago
- ⚛️An overlay for displaying stack frames based on create-react-app/packages/react-error-overlay☆18Updated 6 years ago
- Collection of codemods for TypeScript and JavaScript codebases☆45Updated 2 years ago
- Preact bindings for urql☆26Updated 5 years ago
- Loads .env files in order based on process.env.NODE_ENV value with [stage].local support☆10Updated 3 years ago
- ☆15Updated 6 months ago
- Track the size of a react-dom element in 540 bytes (without ResizeObserver)☆16Updated 2 years ago
- ☔️ Maps render props to a higher order component☆16Updated 6 years ago
- ☆34Updated 6 years ago
- Enhance Next.js development with utilities for local and remote content.☆21Updated last year
- 🚪 Find the entry points in a set of JavaScript files.☆41Updated 5 months ago
- Experimental API for observing the visible box of an element☆52Updated 4 years ago
- React router that supports rendering of multiple independent (auxiliary) routes.☆20Updated 3 years ago
- a react hook that emulates native touch behaviour for things like buttons, list items, and more☆35Updated 5 years ago
- A fully-typed javascript state machine☆22Updated 5 years ago