ch
Feedback

不要被骗子欺骗!Telemetrio 会找到并标记这些频道 👉 如果想查看标记,请订阅

Angular 🇺🇦 - practical notes

Angular 🇺🇦 - practical notes

前往频道在 Telegram

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!

显示更多
1 631
订阅者
无数据24 小时
+17 天
无数据30 天
帖子存档
📄 How to design user-friendly forms: Field input type #guide Use different input fields to help the user understand what inf
📄 How to design user-friendly forms: Field input type #guide
Use different input fields to help the user understand what information they need to provide (date of birth, mobile number, etc). This will help you gather all the information correctly and create an organised database with correlated information. As shown below, it’s best to provide selection boxes where the user can pick from the available options or receive guidance on the type and format of data to include. This will make it easier to collect data and thus reduce the chances of mistakes.

❤️ Managing environment variables in Angular apps #angular #env #lib Some days ago I had to initialise a new Angular app for
+4
❤️ Managing environment variables in Angular apps #angular #env #lib
Some days ago I had to initialise a new Angular app for a side project of mine. The use case would be fairly simple, and I needed some basic features like user authentication and some entities to store on a backend. In such cases Supabase is a great open-source alternative to setting up a custom backend, and integrating it into an Angular app is fairly simple, given the existing supabase dependencies like @ supabase/supabase-js. The only prerequisite to make it work is initialising a supabase project and generating an API key. However, I found out that managing environment variables in an Angular project is not really straight forward. Once we generate a project via the Angular CLI, we get the environment.ts and environment.prod.ts files, but these cannot be used for declaring such API keys, especially if we want to push our codebase to a github repository.
✅ Article link

📄 Practices for the Sign-up Flow: Provide clear and specific error messages #guide When a user enters something incorrectly
+1
📄 Practices for the Sign-up Flow: Provide clear and specific error messages #guide
When a user enters something incorrectly in an input field or misses a required field, the error message should indicate where the error occurred and how to resolve it. Otherwise, the user has to guess which information was entered incorrectly and why it was wrong.

❤️🈯️ Angular & NodeJs: Integrating Google Login #angular #nodejs #google #auth #guide ✅ Article link
+5
❤️🈯️ Angular & NodeJs: Integrating Google Login #angular #nodejs #google #auth #guide ✅ Article link

📄 Practices for the Sign-up Flow: Allow users to make the password visible #guide By offering the option to show the entered
+1
📄 Practices for the Sign-up Flow: Allow users to make the password visible #guide
By offering the option to show the entered password, users can check their input, which reduces the chances of typing errors.

Hello, friends! As you can see, I'm a Ukrainian software engineer who tries to do volunteer fundraisers to support the Armed
Hello, friends! As you can see, I'm a Ukrainian software engineer who tries to do volunteer fundraisers to support the Armed Forces of Ukraine. Sometimes it takes a lot of time and I am not able to maintain this channel for you. Please help me close these fundraisers because without the Ukrainian army there will be nothing Ukrainian. Thank you very much! 💵 FOR Ukraine: https://send.monobank.ua/jar/5TvPibajtR 5375 4114 1222 8582 🌎 FOR ALL DONATS: 💵 SWIFT code: UNJSUAUKXXX 💵 PayPal: luckystudydanit@gmail.com My profile with reports after closing fundraiser : https://www.facebook.com/volunt2erua/ also all reports in our 🚀 channel: https://t.me/toxicc_squad

📄 Difference Between Native Federation, Module Federation, and Single-Spa #info #module_federation #native_federation ✅ Arti
+3
📄 Difference Between Native Federation, Module Federation, and Single-Spa #info #module_federation #native_federation ✅ Article link

📄 Practices for the Sign-up Flow: Provide instructions for the password field #guide Display instructions near the password
+3
📄 Practices for the Sign-up Flow: Provide instructions for the password field #guide
Display instructions near the password input field to help users create a password, and provide instant feedback as users type. This makes password creation and the overall sign-up process easier.

📵 Create a Cancellable Promise #js #promise Create a cancellable promise P with a method cancel such that after we call the
📵 Create a Cancellable Promise #js #promise
Create a cancellable promise P with a method cancel such that after we call the method P.cancel(), the promise cannot be resolved now. There should be a way to know that the promise was cancelled and not rejected.
✅ Article link

📄 Practices for the Sign-up Flow: Provide social login methods #guide Social login methods make the sign-up process quicker
+1
📄 Practices for the Sign-up Flow: Provide social login methods #guide
Social login methods make the sign-up process quicker and easier. When users sign up using social login, other essential information such as name and email can be retrieved automatically. Additionally, users will not need to create a password.

📵 Exploring the New JavaScript Feature: Records and Tuples #js #records #tuples ⚠️ ECMAScript® 2024 (ES15) ✅ Article link
+5
📵 Exploring the New JavaScript Feature: Records and Tuples #js #records #tuples ⚠️ ECMAScript® 2024 (ES15) ✅ Article link

Now the administration can receive donations through posts reactions 🌟 One star costs less than one UAH. Update Telegram and support this channel.

📄 Practices for the Sign-up Flow: Keep it simple #guide The sign-up form should ask only for essential information. In case
+3
📄 Practices for the Sign-up Flow: Keep it simple #guide
The sign-up form should ask only for essential information. In case the product requires additional information besides an email and a password, split the sign-up flow into several steps.

❤️ Multi-Language PDF Export in Angular #angular #pdf #guide ✅ Article link
+2
❤️ Multi-Language PDF Export in Angular #angular #pdf #guide ✅ Article link

🚱 Interview Questions: Implement a debounce anti-shake function #js #interview #debounce
🚱 Interview Questions: Implement a debounce anti-shake function #js #interview #debounce

❤️ Kickstart your new Angular project: A step-by-step guide #angular #tailwind #eslint #jest #cypress #husky #guide Requireme
+8
❤️ Kickstart your new Angular project: A step-by-step guide #angular #tailwind #eslint #jest #cypress #husky #guide
Requirements: For the purposes of this guide, I’m assuming that you already have the following tools/libraries installed on your machine: 1. Node.js (I’m using v. 20.x.x) 2. Git 3. A code editor (I’m using Visual Studio Code), with ESlint, TailwindCSS IntelliSense extensions.
✅ Article link

📵 Interview Questions: Implement Instanceof #js #interview #instanceof The instanceof operator in JavaScript can be used to
📵 Interview Questions: Implement Instanceof #js #interview #instanceof
The instanceof operator in JavaScript can be used to determine whether an object is an instance of another object. However, the instanceof operator has some limitations, such as: 🥫The instanceof operator can only determine objects directly connected to the prototype chain. 🌯The instanceof operator cannot detect objects with cyclic prototype chains. Therefore, the above code provides a more general instanceof function that can determine the relationship between any two objects. The implementation principle of this function is: 🍗The function instanceof receives two parameters: left and right. 🥞First, the code checks to see if the number of parameters is 2, and if not, throws an error. 🥚Next, the code checks whether the left operand left is null. If so, it returns false directly, because null cannot be an instance of any object. 🧀Then, the code checks whether the type of the left operand left is an object. If not, it returns false directly, because only objects can be instances of the constructor. 🥖Next, the code uses Object.getPrototypeOf() to obtain the prototype of the left operand left and assigns it to the variable proto. 🍞In a loop, the code continues to traverse proto’s prototype chain until proto is null. 🥐In the loop, the code checks whether the prototype of the right operand right is equal to the current proto. If they are equal, it means that the left operand left is an instance of the right operand right and returns true. 🍠If no matching prototype is found at the end of the loop, that is, proto is null, it means that the left operand left is not an instance of the right operand right, and false is returned.

🖤🩷 Angular: Initialize SignalStore from Resolver #angular #signals #resolver ✅ Article link
+1
🖤🩷 Angular: Initialize SignalStore from Resolver #angular #signals #resolver ✅ Article link

🚳 Interview Questions: Implement promise.all method #js #interview #promise Analysis: Use the Promise.all principle to synch
🚳 Interview Questions: Implement promise.all method #js #interview #promise
Analysis: Use the Promise.all principle to synchronize the Promise state through the counter and result array.

❤️ 🤍 Global Error Handler — Angular #angular #error #interceptor ✅ Article link
+2
❤️ 🤍 Global Error Handler — Angular #angular #error #interceptor ✅ Article link