Using React useRef Hook to access immediate past props or state.
originally posted on my personal blog walecloud.me           Using React useRef Hook to access...
Tags: javascript, react, hooks, useref