Elliott Sprehn

@ElliottZ

Part time keeper of the web.

San Francisco
Vrijeme pridruživanja: veljača 2009.

Tweetovi

Blokirali ste korisnika/cu @ElliottZ

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @ElliottZ

  1. 28. sij

    As mentions this is how the web has evolved for decades. I certainly don't agree with all API or system changes that have happened over the years, but stochastic progress is probably better than irrelevance. "Only on App Store" scares me a lot more than weird web apis

    Prikaži ovu nit
    Poništi
  2. 28. sij

    What's interesting about this narrative is that it narrowly focuses on JS. The whole web surface is the "standard" though, not just JS APIs. So for example Apple's ITP feature is also shipping a new web standard without other browsers being on board.

    Prikaži ovu nit
    Poništi
  3. 10. sij

    unison, a new programming language where testing is not found: I do like the idea of storing symbol names in source control by unique address. Commit time compilation (into a source control friendly format) is a neat idea.

    Poništi
  4. 2. sij

    I think type based overloading is probably a mistake. Instead it should be useState and useUpdater or something. This stumped a coworker for a whole week because the error message is about the state variable being of the wrong type (foo is not a property of undefined)

    Prikaži ovu nit
    Poništi
  5. 2. sij

    gotcha of the day! If your state is a function (ex. from a dynamic import), and you do [func, setFunc] = useState(), then import('...').then((f) => setFunc(f)) will fail because it invokes the updater form of setFunc which calls f() and sets the state to the return value.

    Prikaži ovu nit
    Poništi
  6. 31. pro 2019.

    I wish React would throw an exception by default if you assign to pushState or assign to window.location in a click handler and the target is not inside an <a href> with the same url.

    Prikaži ovu nit
    Poništi
  7. 31. pro 2019.

    The new vanguard charitable website has no real links on it. What's crazy is that everything you click changes the url, and direct links do work, but nothing is an <a href>, just React components and click handlers.

    Prikaži ovu nit
    Poništi
  8. 28. pro 2019.

    Google Photos thinks and I are the same person, such an honor! I'll leave it as a mystery what option I picked...

    Poništi
  9. 19. pro 2019.

    What happened in 2018 with such a large shift from "I want to learn Angular" to "I don't want to use it anymore" ? None of the other frameworks have this shift.

    Poništi
  10. 17. pro 2019.

    LinkPrefetcher = ({ prefetch }) => <div onMouseEnterCapture={(e) => prefetch(.closest('a'))}>{children}</div> And use the link href to know what to prefetch. Supports lazy (or never) hydrating, backend provided urls, links in 3p widgets, and more!

    Prikaži ovu nit
    Poništi
  11. 17. pro 2019.

    This is both cool, and demonstrates a pattern I see in React apps where folks add components on every leaf instead of using global listeners that are config driven (ex. with attrs). There's lots of power in that old school pattern though, even in React!

    Prikaži ovu nit
    Poništi
  12. 16. pro 2019.

    I really dislike the React behavior of unmounting the whole subtree on errors. It's totally against the spirit of the web where CSS and HTML have graceful error handling. I'm looking at pages on Zillow that show me content for a split second and then go white a re-render error.

    Poništi
  13. 5. pro 2019.

    Super excited for this! Hopefully Chrome will add integrity hashes as an option here too.

    Poništi
  14. 5. pro 2019.

    Also the CEO of Away really needs a management coach. Seriously toxic stuff going on in the culture beyond even the slack rule obviously.

    Prikaži ovu nit
    Poništi
  15. 5. pro 2019.

    "totally transparent comms" === Junior people stressed out all the time.

    Prikaži ovu nit
    Poništi
  16. 5. pro 2019.

    Work folks need private spaces for discussions. Often folks say things and later realize they made a mistake, or that the escalation wasn't worth it, or that saying something more broadly would cause churn, etc. Only public comms turns all small issues into big public ones.

    Prikaži ovu nit
    Poništi
  17. 5. pro 2019.

    A great read about a dystopian and toxic company culture. It's also amazing that the "no email, only public slack" rule was done for inclusion, but created one of the most exclusionary cultures I've ever heard of. Don't buy from Away.

    Prikaži ovu nit
    Poništi
  18. 4. pro 2019.

    If she had instead joined the pentesting or fraud and abuse teams at a big tech company she probably could have been paid well for a job she's clearly qualified for! 😛 (Also CNN lite is amazing, so fast!)

    Poništi
  19. 29. stu 2019.

    While very cool this is showing React yeilding the event loop to allow a main thread animation (raf powered) to have a better frame rate. Concurrent Mode doesn't make your 700ms renders magically take less time. This particular demo would also better as OffscreenCanvas.

    Poništi
  20. 27. stu 2019.

    As a leader I've also observed it's often hard to tell power user issues (which employees tend to be) from issues that impact larger groups. It's good to practice empathy and take internal negative feedback as a signal to slowdown.

    Prikaži ovu nit
    Poništi

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

    Možda bi vam se svidjelo i ovo:

    ·