Want to understand, how it can be built with pure js. I expect it something like that:
const useStatePureJs = () => { let state = null; const setSta