How can I respond to the width of an auto-sized DOM element in React? How can I respond to the width of an auto-sized DOM element in React? javascript javascript