use-stable-reference

Simple React hooks to access referentially stable, up-to-date versions of non-primitives.