Medijski sadržaj
- Tweetovi
- Tweetovi i odgovori
- Medijski sadržaj, trenutna stranica.
-
#TypeScript tip for today: `ReadonlyArray` will make an array only permit immutable operations.pic.twitter.com/HSQoZwIkRc
-
#React 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.pic.twitter.com/qtvHfjzdMo -
#TypeScript tip for today: `keyof` gets a union type of all properties of the given object – useful for defining params for sorting, filtering, etc.pic.twitter.com/nqlWC5POhx
-
#JavaScript tip for today: Assign a default value when destructuring – objects and arrays!pic.twitter.com/beyLAo8W0P
-
#JavaScript tip for today: `console.assert` prints a message in the console if the given assertion is falsepic.twitter.com/x1NioKSULo
-
#TypeScript tip for today: `as const` assertion marks a literal expression as immutable. Nested!
pic.twitter.com/V6ypBadoqM
-
Still installing fonts by downloading zip files? I mean, it might be fun, I guess...pic.twitter.com/PrusbxirDN
-
Default
#HTML 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:pic.twitter.com/GbchpdtKRv
-
#HTML tip for today: Add the "disabled" attribute on a `<fieldset>` element to disable inputs & buttons inside – all at once.pic.twitter.com/VRGtNzGEI1 -
Edit the demo: https://stackblitz.com/edit/datalists?file=index.html … Browser support:pic.twitter.com/2Lw6hqDU0y
Prikaži ovu nit -
#HTML tip for today is:#useThePlatform
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: https://datalists.stackblitz.io pic.twitter.com/lLlPYNTesNPrikaži ovu nit -
#DevTools tip for today: Customize the Network panel to your convenience – add columns such as "Method" or "Cache-Control", or even display custom request headers!pic.twitter.com/dX4QW7AJLZ -
-
(uh, I was wondering about a way to do this a couple of times now... and the solution is so simple
)
So, #TypeScript tip for today is: You can access the type of what's in a specific Array type by using the `number`!pic.twitter.com/9Mu0yNbICz
-
#React /#TypeScript 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.pic.twitter.com/a6WeeIEvph
Prikaži ovu nit -
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 https://www.instagram.com/penelopia.pl/ ) #christmas#craftspic.twitter.com/tSzy8EoAZb
Prikaži ovu nit -
I'd like to take the last entry of this year's
#DevAdventCalendar 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!pic.twitter.com/Qlj8nExL8U
Prikaži ovu nit -
"Live Expression" is something I don't see used a lot in
@ChromeDevTools, but if you want to track value changes over time, it's one of the most convenient tools for it out there! [#DevAdventCalendar day 23]pic.twitter.com/4Xvb49qYVH -
`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!


#JavaScript#DevAdventCalendar day 22pic.twitter.com/jmwSrSiA9j
Č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.
· writes about
