Daniel G.  

@Replayattack

👨‍💻 Front-end developer. 😻 Cat lover. 👱🏻‍♂️ He/his.

Medellín, Colombia
Vrijeme pridruživanja: lipanj 2018.

Tweetovi

Blokirali ste korisnika/cu @Replayattack

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

  1. proslijedio/la je Tweet

    Useless code comments be like

    Poništi
  2. proslijedio/la je Tweet
    1. velj

    Understand, don't memorize. 🧠

    Poništi
  3. proslijedio/la je Tweet
    31. sij

    Why keep React state “low” (as local as possible)? 1. Performance (less renders) 2. Simplicity (less prop passing) 3. Safety (less access = less risk) - Honors the Principle of Least Privilege

    Poništi
  4. proslijedio/la je Tweet
    30. sij

    Irony: Corporations are using security scanner software that's so oppressive it drives people to quietly use their personal laptops. The result? No security scans, annoyed workers, and foreign hardware in the office. Oppressive security reduces security. People work around it.

    Poništi
  5. proslijedio/la je Tweet
    30. sij

    I've been doing some CSS inspecting of some pretty looking sites, focusing on content width. Genuinely surprised nobody seems to use the char unit, e.g. `max-width: 80ch`? Instead everybody seems to use pixels/%. Why? Isn't the normal advise to aim for 50-80 chars per line?

    Prikaži ovu nit
    Poništi
  6. proslijedio/la je Tweet
    30. sij

    🙊👏🙊👏🙊👏 Did you know there are SEVEN different types of CSS attribute selectors and dang are they useful! [Screen reader friendly gist: ]

    Poništi
  7. proslijedio/la je Tweet
    28. sij

    Puppeteer v2.1.0 is out! 🔥 ➡️ Chromium 80 ➡️ puppeteer.launch({product: 'firefox'}) Puppeteer can now talk to a real, unpatched Firefox binary. You no longer need to install puppeteer-firefox separately!

    `puppeteer.launch` now accepts a `product` option which can be set to `'firefox'`.
    Poništi
  8. proslijedio/la je Tweet
    27. sij

    Proud to announce that a project I've been working on since Christmas is now open-source: Hex Engine, a modern 2D game engine for the browser, designed to feel like . Please try it out and contribute! Let's make something great together 😊

    Prikaži ovu nit
    Poništi
  9. proslijedio/la je Tweet
    27. sij

    🔥 CSS pro tip If you want to select SVG <img> elements, use this CSS. Super handy as SVG <img> won’t fill the width if they’ve just got `max-width: 100%` on them. Gist:

    CSS that reads: 

img[src*='.svg'] {
  min-width: 100%;        
}
    Prikaži ovu nit
    Poništi
  10. proslijedio/la je Tweet
    27. sij

    I'm working super hard to create my course! I'll teach you how to: ❤️ Build a Sketch kit ❤️ Build extensible components with React + styled components ❤️ Deploy your library to NPM ❤️ Document with Storybook (&& more) Check it out:

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

    tip for today: Assign a default value when destructuring – objects and arrays!

    Poništi
  12. proslijedio/la je Tweet
    27. sij

    Tip: Intentionally train your brain to listen to audiobooks/podcasts at a higher speed. I've been working on this for the last 5 years and I'm at 3x (which is as high as most players go). Our brains are capable of amazing things. They just need exercise!

    Prikaži ovu nit
    Poništi
  13. proslijedio/la je Tweet
    26. sij

    ✍️ New Article: Intrinsic Sizing In CSS ✍️ I wrote about intrinsic sizing in CSS which includes the values: min-content, max-content, and fit-content from an introduction to real-life examples. 🔗

    Poništi
  14. proslijedio/la je Tweet
    26. sij

    So far, I ♥️ being independent. 1. Don't need to keep Slack open 2. No commute 3. Don't need permission to take vacation or work odd hours 4. Quiet office in my house 5. Can work anywhere 6. No mandatory recurring meetings 7. Flexible. Fit it work around life. Work when I prefer.

    Prikaži ovu nit
    Poništi
  15. proslijedio/la je Tweet
    26. sij

    Tip: With open, click/hold the Reload button for bonus Empty Cache & Hard Reload options:

    Poništi
  16. proslijedio/la je Tweet

    Crazy idea: Video games are accelerating the remote work trend. Children today will grow up hanging out with their friends online, where they’re learning about digital collaboration. Global games. Global teamwork.

    Poništi
  17. proslijedio/la je Tweet
    24. sij

    Pro tip: If something on your critical path is slow, don't waste time trying to speed it up—just avoid it as long as possible. For example, if building UIs is slow, stop building UIs and focus on drawing lots of pictures. Problem solved.

    Poništi
  18. proslijedio/la je Tweet
    23. sij

    Here is an interesting one I just ran into. How do you check if an array, with a length, isn't just empty slots? Another useful use for Object.values()!

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

    How Web Standards Work 1. design a flawed API (it's fine! APIs are hard) 2. ship it in the most-used browser, despite objections 3. get cross-browser working group to fix the API 4. oops, too late, that would break the web

    Prikaži ovu nit
    Poništi
  20. proslijedio/la je Tweet
    24. sij

    Some tips to recognize where code snippets belong: If something starts with `ng` it belongs in Angular If something starts with `use` it belongs in React If something starts with `v-` it belongs in Vue If something starts with `// ` it belongs in the trash

    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:

    ·