Tomek Sułkowski

@sulco

Engineer ⚡️· writes about , , and improving Developer Experience

Warsaw, Poland
Vrijeme pridruživanja: prosinac 2008.

Medijski sadržaj

  1. prije 7 sati

    tip for today: `ReadonlyArray` will make an array only permit immutable operations.

  2. 31. sij

    tip for today: Right-click on a prop (or piece of state, hook, or context value) in React Dev Tools to copy or store it as a global variable.

  3. 29. sij

    tip for today: `keyof` gets a union type of all properties of the given object – useful for defining params for sorting, filtering, etc.

  4. 27. sij

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

  5. 24. sij

    tip for today: `console.assert` prints a message in the console if the given assertion is false

  6. 22. sij

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

  7. 20. sij

    Still installing fonts by downloading zip files? I mean, it might be fun, I guess...

  8. 17. sij

    Default form controls are getting a significant visual (and a18y) update in a future Chrome – so don't be surprised once things start looking differently. You can try them on now with `chrome://flags`, but here's a little side by side (OSX) to get a sense of the changes:

  9. 15. sij

    tip for today: Add the "disabled" attribute on a `<fieldset>` element to disable inputs & buttons inside – all at once.

  10. 13. sij
    Prikaži ovu nit
  11. 13. sij

    tip for today is: ❤️ Did you know you can use the `<datalist>` element to provide suggestions for inputs? And not only for `[type=text]` ones: 🧮number, 📏range, ✉️email, 🟩color even, work too! demo:

    Prikaži ovu nit
  12. 10. sij

    tip for today: Customize the Network panel to your convenience – add columns such as "Method" or "Cache-Control", or even display custom request headers!

  13. 9. sij
    Odgovor korisnicima

    Well, the idea isn't new 🙂

  14. 9. sij
    Odgovor korisniku/ci
  15. 9. sij

    (uh, I was wondering about a way to do this a couple of times now... and the solution is so simple🤦‍♂️) So, tip for today is: You can access the type of what's in a specific Array type by using the `number`!

  16. 7. sij

    / tip for today: There are a couple of types you can use to define children in React, and I used to always confuse them, so I've made this list.

    Prikaži ovu nit
  17. 25. pro 2019.

    And when my mum makes a gingerbread house, she does not pull any punches 😳 (if you want to see some of the other jaw- dropping stuff she creates, look at her Instagram )

    Prikaži ovu nit
  18. 24. pro 2019.

    I'd like to take the last entry of this year's to simply wish all who celebrate: Merry Christmas!🎄 Day in and day out, we may focus on code, performance, etc (I know I do!) – this is a chance for a break. Let's spend this time on what matters most!

    Prikaži ovu nit
  19. 23. pro 2019.

    "Live Expression" is something I don't see used a lot in , but if you want to track value changes over time, it's one of the most convenient tools for it out there! [ day 23]

  20. 22. pro 2019.

    `Array.flat(<depth = 1>)` returns a flatten array from a nested one. And since it just came out this year, it's its first winter – so let's give it a fitting welcome! ❄️⛄️⛷ day 22

Č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:

    ·