🤐 New, top-secret product announcement coming next week. Can't wait to share more with you, so don't miss our next event 🤩
Livestream info 👉 https://t.co/DPze49WGS6
#Netflix sta muovendo i primi passi con il suo servizio di gaming. 🎮
Chissà se in futuro punterà ad essere un competitor di #XboxGamePass e/o #GoogleStadia 🤔
https://t.co/4B0Nnzn55R
mix-blend-mode: difference; is one of my favorite new CSS additions. It allowed me to make a gallery where the indicators are always visible regardless of the background behind them. Notice how it changes from light to dark.
Too bad it doesn't work correctly on iOS safari 😭
@rizkiaprita@Prathkum@SimonHoiberg I wouldn't say that it's too new, it's been around since ES6 (2015)!
Maybe you are referring to spread properties to object literals, proposed in 2018.
Anyway, if you are using a transpiler you can use ESNext functionalities right now.
Not that big of a deal, isn't it?
@ebrahimireza1 @_alfi_maulana @catmcgee Honestly a lot, it's been almost two years and a half that I do not touch a React codebase written in JS. Even older project have been ported over to TS overtime.
Indeed, Angular defaults to TS while on the other hand with React you explicitly need to generate it
@Rajdeep2197@catmcgee@renatoaraujoc I can't think of something ugliest as <div *ngFor="let foo of bar">
To me HTML in JS is just more straightforward, both to write and to complain about.
Also, it's really just JavaScript/TypeScript in the end, if you have an array to iterate over you just need to call .map on it
@BenPicolo @MTY_FDR@catmcgee Well, you can use a CSS module in React to make a local stylesheet.
And, this functionality has been out of the box for about three years, I think.
Or you can just use Styled Component or any other CSS-in-JS library