Peter

@ptpakagavatva

I write code for and . I don’t always listen to QUEEN. But when I do, so do the neighbors! 👅🤘🏻

Ho Chi Minh, Vietnam
Vrijeme pridruživanja: studeni 2012.

Tweetovi

Blokirali ste korisnika/cu @ptpakagavatva

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

  1. proslijedio/la je Tweet
    22. sij

    tip for today: `as const` assertion marks a literal expression as immutable. Nested! 🤩

    Poništi
  2. proslijedio/la je Tweet
    13. sij

    GYM TIP: Work out smart, not hard! A lot of people at the gym go and lift the big weights. But actually, the small weights are lighter and much easier to lift.

    Prikaži ovu nit
    Poništi
  3. proslijedio/la je Tweet
    11. sij

    Do you like to watch YouTube videos on your Mac while coding? Try this out! 🍿npx pipcorn [youtube-link]

    Prikaži ovu nit
    Poništi
  4. proslijedio/la je Tweet
    Odgovor korisniku/ci
    Poništi
  5. proslijedio/la je Tweet
    23. pro 2019.

    This could be the world's tiniest gingerbread house — just 1/10th of a hair in length — and it sits atop an already tiny snowman

    Poništi
  6. proslijedio/la je Tweet
    12. pro 2019.

    Little JavaScript snippet to see what all those .toThing() methods do on a Date object: Object.getOwnPropertyNames(Date.prototype) .filter(name => name.startsWith('to')) .map(method => `${method}: ${(new Date())[method]()}`)

    Poništi
  7. proslijedio/la je Tweet
    12. pro 2019.

    Over 100 JavaScript Algorithms and Data Structures Demonstrated:

    Poništi
  8. proslijedio/la je Tweet

    Say you're building an offline web app (no server). You want to add a way to sync to other devices. How would you do it?

    Poništi
  9. proslijedio/la je Tweet
    11. stu 2019.

    JavaScript gains first-class support for global substring replacement! 🔥 explains the new String.prototype.replaceAll API: (V8 v8.0 has an experimental implementation behind the --harmony-string-replaceall flag.)

    Poništi
  10. proslijedio/la je Tweet
    Prikaži ovu nit
    Poništi
  11. proslijedio/la je Tweet

    TIL: It’s a standard JavaScript too-level object, like Math, which exposes functions for working with dates. It replaces libraries like date-fns, luxon, and moment.js And it’s stage 2! Close to being generally usable. 🤩

    Prikaži ovu nit
    Poništi
  12. proslijedio/la je Tweet
    28. stu 2019.

    I was trying to understand how react works, so wrote a small babel plugin that wraps named function bodies with a (functionName). applied to react codebase ->

    Prikaži ovu nit
    Poništi
  13. proslijedio/la je Tweet
    25. stu 2019.
    Poništi
  14. proslijedio/la je Tweet
    24. stu 2019.

    Step 1: write codemod to turn all _.get calls into optional chaining syntax Step 2: Realize how much code is output when optional chaining is compiled Step 3: write Babel plugin to convert optional chaining into ’s dlv library at compile time 🤷‍♂️

    Poništi
  15. proslijedio/la je Tweet
    19. stu 2019.

    Skeuomorphic design may be making a come back and I welcome it if it looks similar to this. Designer -

    Poništi
  16. proslijedio/la je Tweet
    9. stu 2019.

    Ugh! Omg! 😳 Let’s transform ALL online shopping experiences into this! Geez I’d be SO happy to pull stuff out of the browser, flip it around, and inspect it in my world before adding to my online shopping cart! 😱

    Poništi
  17. proslijedio/la je Tweet
    25. lis 2019.

    🔥 Here is a neat one! Since arrays are objects, we can destructure their indexes to easily grab the first and last items.

    Prikaži ovu nit
    Poništi
  18. proslijedio/la je Tweet
    27. svi 2019.

    Started drawing dynamic SVG hit areas for this menu component 👀

    Prikaži ovu nit
    Poništi
  19. proslijedio/la je Tweet

    We just released Babel 7.6.0! 🐠 Some notable updates are: - 🕵️‍♀️Private static accessors support - 8⃣Parser support for V8 intrinsics runtime functions - ❔Nullish coalescing operator spec update - 🧧A gif in the blog post

    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:

    ·