Mustapha Aouas

942 posts

Mustapha Aouas banner
Mustapha Aouas

Mustapha Aouas

@TheAngularGuy

Senior Frontend engineer • Angular Lyon co-organizer • Tweeting web development tips daily 🚀

France Katılım Kasım 2014
375 Takip Edilen1.5K Takipçiler
Ahmad Awais
Ahmad Awais@MrAhmadAwais·
Eid Mubarak, y’all. 🌙
Eesti
8
1
42
2.1K
Mustapha Aouas retweetledi
Rspack
Rspack@rspack_dev·
Rslib will soon support Module Federation. This allows a library to concurrently generate ESM, CJS, Module Federation, and DTS outputs in a single build. Libraries built with Rslib can not only be published to npm. They can also provide remote modules for use by MF consumers.
Rspack tweet media
English
8
22
225
23.2K
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
If you need to create a deep copy of a value in JS, structuredClone is your tool. A standard utility from the ECMAScript specification that allows tou to easily clone complex data structures without relying on workarounds or third-party libraries #100daysofcode
Mustapha Aouas tweet media
English
0
1
5
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
The isNaN global function converts the argument to a number then checks if the result is not a number whereas Number.isNaN does not convert the argument
Mustapha Aouas tweet media
English
0
0
3
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
The image-rendering CSS property defines how the browser should render an image, in order to provide a smooth or crispy edges. You can see below an example of a 20px base64 qrcode scaled to 200px and the same image with two different values for the image-rendering
Mustapha Aouas tweet media
English
0
2
5
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
Because WebP and AVI files use less space than JPEGs or PNGs, they are better suited for image-heavy applications 👍
Mustapha Aouas tweet media
English
0
0
2
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
Did you know that JSON.strigify takes 3 parameters? If the third parameter is a number, it determines how many space characters should be used for indenting. If it’s a string, that string becomes white-space. This is useful for formatting log messages in a human-friendly way 🚀
Mustapha Aouas tweet media
English
0
0
4
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
Did you know about Sass each loops? 👇
Mustapha Aouas tweet media
English
0
0
5
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
When designing a page, there are many times when one class should have all of the styles of another class as well as its own unique styles. For these cases you can use @extend 👇
Mustapha Aouas tweet media
English
0
2
8
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
📌Chrome tip: You can access the most recently evaluated expression by typing “ $_ “ in the console
Mustapha Aouas tweet media
English
0
0
2
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
💅 CSS tip: You can use the “ :lang “ pseudo-class to target elements based on the language they are determined to be in
Mustapha Aouas tweet media
English
0
1
4
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
📙 HTML tip: Use the noscript element to provide alternative content for browsers that do not support scripting, or in which javascript has been disabled
Mustapha Aouas tweet media
English
1
1
4
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
📙 HTML tip: The lang attribute specifies the language in which a content is written in and it can be used to help search engines index your site 👍🚀
Mustapha Aouas tweet media
English
0
0
5
0
Eleftheria Batsou
Eleftheria Batsou@BatsouElef·
GM + Happy new week! 🚀 What are your goals for the week? And did you achieve last week's goals?
English
16
3
33
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
To style the highlighted text, use this 👇
Mustapha Aouas tweet media
English
1
0
1
0
Mustapha Aouas
Mustapha Aouas@TheAngularGuy·
Did you know that you can share a link to any word or passage on any page? Select the text, then right click and click “copy link to selected text”
English
1
0
3
0