23 Matching Annotations
  1. Oct 2020
  2. Sep 2020
    1. You must: reference each element you are extending using refs or an id add code in your oncreate and ondestroy for each element you are extending, which could become quite a lot if you have a lot of elements needing extension (anchors, form inputs, etc.)
    2. This is where hooks/behaviors are a good idea. They clean up your component code a lot. Also, it helps a ton since you don't get create/destroy events for elements that are inside {{#if}} and {{#each}}. That could become very burdensome to try and add/remove functionality with elements as they are added/removed within a component.
    1. The more I think about this, the more I think that maybe React already has the right solution to this particular issue, and we're tying ourselves in knots trying to avoid unnecessary re-rendering. Basically, this JSX... <Foo {...a} b={1} {...c} d={2}/> ...translates to this JS: React.createElement(Foo, _extends({}, a, { b: 1 }, c, { d: 2 })); If we did the same thing (i.e. bail out of the optimisation allowed by knowing the attribute names ahead of time), our lives would get a lot simpler, and the performance characteristics would be pretty similar in all but somewhat contrived scenarios, I think. (It'll still be faster than React, anyway!)
  3. Jun 2020
  4. May 2020
    1. Although there were some patenting and licensing concerns with GraphQL, these have been resolved to our satisfaction by the relicensing of the reference implementations under MIT, and the use of the OWF license for the GraphQL specification.
  5. Apr 2020
    1. Basically, the attackers don't actually have video of you or access to your contacts, and they haven't been able to install malicious code on your computer. In reality, they're taking a password from a database that's available online, sending it to you, and hoping you're scared enough to believe their story and send them bitcoin.
  6. Mar 2020
  7. Jan 2020
  8. Dec 2017
    1. Is it better to try to make something that’s impossible, because it’s important to you

      she is wondering if her actions and reasons for her actions were worth it to convey the art that was important to her

    2. But I really feel any subject is O.K., it’s just how it’s done

      response to how ppl would see it

    3. It’s evidence of something that really happened. I wasn’t alive then, and it wasn’t taught in our history classes.” She was still uncertain about the painting. “I don’t know if it has the right emotionality,” sh
        1. she is kind of worried that she did not portray it the way ppl during the time would imagine it
        • she was not alive at the time so she was not there to feel the emotions