React textarea component to automatically expand and contract your textareas.
fast-shallow-equal
and
pairs it with a custom hook to be able to detect shallow changes to a style
object if it gets passed. We also are now resizing using a ResizeObserver
,
if it's supported, as well as if a provided className
changes.