Itay Merchav - packages

A handful of small JavaScript/React packages, each doing one job.

react-single-instance

Render something at most once for a given id, app-wide - a component, a hook, and a HOC.

isellipsis / @isellipsis/react

Find out if an element is currently truncating its text with an ellipsis - framework-agnostic, plus a React hook.

react-any-event

Add any custom event to any HTML element in React, including ones fired by programmatic attribute changes.

react-any-attr

Add any custom HTML attribute to any element in React, reactively - with fine control over how each value is written.

tab-indexer / @tab-indexer/react

A tiny context counter for managing tabIndex across a project - keyboard order that survives modals and nested dialogs.

@glorification/eslint-config / prettier-config

A modern coding style for modern JavaScript and TypeScript - ESLint and Prettier configs that never fight.