use-maintained-ref (npm): creates a ref that is kept up-to-date
Keywords: hacktoberfest|react|reacthooks