useLocal: the useState hook for a properly-synced state As you might know, the React hook useState takes one argument, which will initialize its internal state to that given value. When React 16 with Hooks got released, I found it a little bit confusing, but it perfectly makes sense. No matter what, there are still situations,…

Read More