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
- Runtime Config mangement for webpack projects☆15Updated last year
- Glob search in constant time thanks to git cache☆26Updated 3 years ago
- A React-based ponyfill for `field-sizing: content`☆23Updated last year
- React hook for the Device Orientation API☆23Updated 6 years ago
- Performant Calculation of the width and height of a text string using canvas.☆24Updated last year
- Manage state locally and globally in React with signals☆12Updated 11 months ago
- CLI to collect stats about React usage on a website☆29Updated last year
- Hooks to leverage the web-animations API in under a kb☆52Updated 2 years ago
- Utilities to work with protocol handlers (like "vscode://") on the web.☆13Updated 2 years ago
- A Babel macro to conditionally import something based on environmental variables.☆51Updated 3 years ago
- A reactive component library for Preact / React (not production ready)☆55Updated 4 years ago
- This is a proof of concept of a React Hook like implementation for Preact.☆33Updated 2 years ago
- Preact bindings for urql☆26Updated 4 years ago
- A primitive React hook used to coordinate indexed collections effortlessly.☆74Updated last year
- A tree traversal library.☆32Updated 4 months ago
- A Vite plugin that enhances jsx transformation for React☆19Updated 3 years ago
- a collection of packages to compile Tailwind CSS like shorthand syntax into CSS at runtime☆50Updated 4 years ago
- 🚪 Find the entry points in a set of JavaScript files.☆41Updated 3 months ago
- Track the size of a react-dom element in 540 bytes (without ResizeObserver)☆16Updated 2 years ago
- Enhance Next.js development with utilities for local and remote content.☆21Updated last year
- 🔀 An npm package for creating complex comparators, tersely and beautifully.☆18Updated last year
- Replace all instances of "@@strings like this" with hashes.☆35Updated 4 years ago
- Observe your immutable state trees 🌲👀 (great with React)☆24Updated 4 years ago
- A simple React Hook for infinite scrolling built on the Intersection Observer API☆19Updated 2 years ago
- Type-safety for constructing GraphQL schemas in TypeScript☆18Updated 2 years ago
- A Fetch API "Headers" polyfill and transformation library.☆34Updated 4 months ago
- ☆34Updated 6 years ago
- perform asynchronous operations synchronously (intended for use with babel-plugin-macros)☆39Updated 2 months ago
- ☆17Updated 2 years ago