Wrote an article
https://dev.to/link2twenty/react-custom-hook-for-accessing-storage-1e5n