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
πŸ“„ How to design user-friendly forms: Validation and errors

#guide

Before a form is submitted, validation takes place. This means that required fields must be completed and input values must have a correct format. If something is wrong or missing, an error message will be shown to help the user meet the requirements.

Three types of error messages might appear in your form:

1) An error has occurred: It is necessary to clearly show that an error has occurred when filling out the form. Ideally, this message is shown in red colour;

2) Where the error occurred: It is necessary to highlight the field in which the error occurred;

3) How the error can be fixed: Put information on what needs to be different for the form to be validated correctly.

It’s important to note that the list of errors will be read by screen readers making your website accessible. Once all the checks have passed, the form can be successfully submitted.
❀1
πŸ“„ How to design user-friendly forms: Optional vs. required

#guide

When designing forms, we often include both optional and required fields. Typically, we designate a required field by adding an asterisk (*) to it. Although we still find this method applied, it is increasingly being replaced by a different approach that uses words instead of symbols to indicate optional fields. Forms should collect the most important information and have a few optional fields. This will make it easier for people to comprehend the information, without overwhelming them with it.

This method offers a more intuitive approach, particularly for forms that are more extensive and complex.
🌐 πŸ’˜ Lightweight NGRX signalStore with Angular. Complete guide

#angular #signals #signalStore #guide

What is NGRX signalStore?
NgRx SignalStore is a fully-featured state management solution that offers a robust way to manage application state. With its native support for Signals, it provides the ability to define stores in a clear and declarative manner. The simplicity and flexibility of SignalStore, coupled with its opinionated and extensible design, establish it as a versatile solution for effective state management in Angular.


βœ… Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❀1πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ’œ πŸ†š Angular Animations: Animating Multiple Items in Parallel

#angular #animations #ui_element

βœ… Article link | 🎁 Code link
Please open Telegram to view this post
VIEW IN TELEGRAM
β€οΈπŸ’› β™ŒοΈ Advanced Angular Techniques

#angular #directives #dynamic #customElements #compiler #ngTemplateContextGuard

βœ… Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❀️ Setting Up Environment Variables in Angular

#angular #env #guide

Environment variables are a way to configure different settings for various environments without changing the application’s code. This is particularly useful for handling API endpoints, feature flags, and other configuration settings that vary between environments.


βœ… Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯1