12 Matching Annotations
  1. Last 7 days
    1. SwiftUI is a user interface toolkit that lets us design apps in a declarative way. That’s a fancy way of saying that we tell SwiftUI how we want our UI to look and work, and it figures out how to make that happen as the user interacts with it.
    2. Imperative UI causes all sorts of problems, most of which revolve around state, which is another fancy term meaning “values we store in our code”. We need to track what state our code is in, and make sure our user interface correctly reflects that state.
  2. Oct 2020
  3. Sep 2020
    1. detach, as an api, should be declarative (ensure the node is detached) instead of imperative (detach the node), allowing it to be called multiple times by performing a noop if the node is already detached. This way, it won't matter if the node is removed from the DOM from outside of svelte.
  4. Jul 2020
  5. Oct 2019
  6. Feb 2019
  7. Sep 2018
  8. Mar 2018
    1. when you ask the same people to do something FOR you, e.g. lend you a book or sign a recommendation letter for you, you can’t just use ください.

      This is like a homeless person saying "give me money, sir." It is still an order.

  9. Oct 2015