Explore Angular's new signal inputs and route binding. Simplify handling route info in components and embrace reactive programming.
{ author: @TheAngularGuy } #DEVCommunity#Angular
https://t.co/nRwYqGMCUk
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.
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
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
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
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 π
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 π
π HTML tip:
Use the noscript element to provide alternative content for browsers that do not support scripting, or in which javascript has been disabled
π 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 ππ
@BatsouElef GM
This week I'll finish e2e testing my app (hopefully).
Last week I was on the DEV top 7 of the week with this post π₯³ https://t.co/bw4Ud5HJgp
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β