Angular πŸ‡ΊπŸ‡¦ - practical notes
1.63K subscribers
1.6K photos
1 file
532 links
Angular - practical notes

This group is for posting practical notes for Angular developers. Mostly all posts are for quick implementation https://t.me/angular_practical_notes (Commenting on posts only in ENG and UA langs here). Welcome!
Download Telegram
Π‘ollection of HTML tips

#html

1. Capture attribute to open your device camera
<input type="file" capture="user" accept="image/*">


2. Automatic website refresh
<head>
<meta http-equiv="refresh" content="10">
</head>


3. Activate spellcheck
<input type="text" spellcheck="true" lang="en">


4. Specify file type to be uploaded
<input type="file" accept=".jpeg,.png">


5. Automatically download on link click
<a href="image.png" download>
Implement Code Splitting for Smaller Bundles

#angular #webpack

Install dependencies
npm install --save-dev webpack webpack-cli webpack-dev-server html-webpack-plugin clean-webpack-plugin


βœ… Link: https://guillaume-ferber.medium.com/maximizing-performance-with-angular-tips-and-tricks-for-efficient-code-76939fe7333b
JS Performance: Secrets to Reducing DOM Operations πŸš€

✳️ When we change the DOM, the browser must redraw the page, which can be slow and time-consuming. By reducing the number of DOM operations, we can keep page redrawing to a minimum, improving code performance.

#js

βœ… Link: https://medium.com/front-end-weekly/boost-your-javascript-performance-secrets-to-reducing-dom-operations-4160162bd952
Angular theming using Dynamically Load CSS

#angular #theme

⚠️ To see the effect, compile the app with ng build.
β€œstart”: β€œnpm run build && ng serve”


βœ… Link: https://medium.com/@piyalidas.it/angular-theme-integration-using-dynamically-load-css-1617147799bf