6 Matching Annotations
  1. Feb 2021
  2. learning-oreilly-com.ezproxy.sfpl.org learning-oreilly-com.ezproxy.sfpl.org
    1. One of the most misunderstood quotes in history is attributed to Field Marshal Helmuth von Moltke, the Elder: “No battle plan survives contact with the enemy.” Ever since, this statement has been taken out of context as a justification for no planning at all—the complete opposite of its original intent. Von Moltke, known as the architect of the Franco-Prussian War of 1870, was a military planning genius credited with a series of stunning military victories. Von Moltke realized that the key to success in the face of rapidly changing circumstances is to not rely on a single static plan. Instead, you must have the flexibility to pivot quickly between several meticulously laid-out options.
  3. Jan 2021
    1. If previous criminal presidents had been seen in the dock, Trump very likely never would have become president in the first place.


    1. Now for the record, there is one way to fix the code above without useReducer. You may remember that you can pass a function to the updater function useState gives you. When you do this, that function will be passed the current state value. We can utilize this to clear out our dependency array without having to use useReducer.

      this is unclear

  4. Dec 2020
    1. “… do not use push notifications, do not post commentary, do not stir up speculation. Safely control the fervor in online discussions, do not create hashtags, gradually remove from trending topics, strictly control harmful information.”

      This sounds hella educational.