A rudimentary implementation of useState without using React hooks or setState.
Made for the purpose of better understanding how React hooks work under the hood, and to familiarize myself more with closures and IIFEs.
Based off this lecture from Ryan Florence and Michael Jackson https://www.youtube.com/watch?v=1jWS7cCuUXw&t