TIL – How to truncate a string and make it appear on hover in React/HTML/CSS
There are a few ways to truncate text and make it appear on hover in React. “Truncate” means shortening the text and following it with an ellipsis, like so: “really long text” becomes “really lon…” …