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
- CLI to collect stats about React usage on a website☆29Updated last year
- perform asynchronous operations synchronously (intended for use with babel-plugin-macros)☆39Updated 5 months ago
- A Fetch API "Headers" polyfill and transformation library.☆33Updated 7 months ago
- Manage state locally and globally in React with signals☆12Updated last year
- Runtime Config mangement for webpack projects☆15Updated 2 years ago
- ☆27Updated 4 months ago
- A Babel macro to conditionally import something based on environmental variables.☆51Updated 3 years ago
- A Vite plugin that enhances jsx transformation for React☆19Updated 4 years ago
- Replace all instances of "@@strings like this" with hashes.☆35Updated 4 years ago
- 🚪 Find the entry points in a set of JavaScript files.☆42Updated 6 months ago
- ☆34Updated 6 years ago
- Hooks to leverage the web-animations API in under a kb☆51Updated 3 years ago
- a react hook that emulates native touch behaviour for things like buttons, list items, and more☆35Updated 5 years ago
- React hook for the Device Orientation API☆23Updated 6 years ago
- Enhance Next.js development with utilities for local and remote content.☆21Updated 2 years ago
- Preact bindings for urql☆26Updated 5 years ago
- Performant Calculation of the width and height of a text string using canvas.☆24Updated last year
- A reactive component library for Preact / React (not production ready)☆55Updated 4 years ago
- ☆17Updated 2 years ago
- Collection of codemods for TypeScript and JavaScript codebases☆45Updated 2 years ago
- A tree traversal library.☆32Updated last week
- a simple react hook for scroll-locking☆19Updated 2 years ago
- 🔀 An npm package for creating complex comparators, tersely and beautifully.☆18Updated 2 years ago
- Manage request/response cookies in the environments where those are not supported.☆19Updated 10 months ago
- Log a state or prop every time it changes☆12Updated 2 years ago
- This package is been moved into tw-in-js/twind-jsx-preprocessor monorepo.☆11Updated 4 years ago
- This is a proof of concept of a React Hook like implementation for Preact.☆33Updated 2 years ago
- tiny state-management library inspired by recoil☆20Updated 2 years ago
- A cache for @remark-embedder☆12Updated 2 years ago