use-truncate-from-middle (npm): React hook which dynamically calculates the maximum number of characters that fit into an HTML element and truncates the text from middle with given middle chars.
Keywords: react|react-hook|resize-observer|truncate-middle|dynamic-truncate|fit-character-number|dynamic-character-number|truncate-text