Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Load more
?Unknown authorNov 6, 2026, 11:10 AM

The biggest value proposition of signal forms for me has been, hands down, how easy it is to make conditional validation (when the validity of a field depends on another field's value)

Just see what hoops we had to jump through previously and how effortless it is now:

#Angular #Forms #WebDev

Angular code in signup.ts, in three parts. "Reactive Forms": readonly signupForm = new FormGroup({ isBusiness: new FormControl(false), company: new FormControl('') }); then a constructor that subscribes to this.signupForm.controls.isBusiness.valueChanges.pipe(takeUntilDestroyed()) and, for each value, takes const company = this.signupForm.controls.company, calls company.setValidators(isBusiness ? Validators.required : null) and company.updateValueAndValidity(). "Signal Forms": readonly model = signal({ isBusiness: false, company: '' }); readonly signupForm = form(this.model, (path) => { hidden(path.company, { when: ({ valueOf }) => !valueOf(path.isBusiness) }); required(path.company); }). "Template": @if (!signupForm.company().hidden()) { <input [formField]="signupForm.company" /> }. The hidden and required lines are highlighted.
?Unknown authorNov 6, 2026, 10:25 AM

You can do much more than just simply react to one event with Angular event listener syntax

And it also works in `host` metadata

Here is how you can let users save their progress with a familiar "Ctrl + S" key combination:

#Angular #WebDev #TypeScript

Angular code in editor.ts. A component with selector 'app-editor', imports: [DatePipe], and host: { '(document:keydown.control.s)': 'save($event)', '(document:keydown.meta.s)': 'save($event)' }. The template: <textarea #area [value]="draft()" (input)="draft.set(area.value)"></textarea>, then @if (savedAt(); as time) { <small>Saved at {{ time | date: 'shortTime' }}</small> }. In class Editor: readonly draft = signal(localStorage.getItem('draft') ?? ''); readonly savedAt = signal<Date | null>(null). The method save(event: Event) calls event.preventDefault(), localStorage.setItem('draft', this.draft()) and this.savedAt.set(new Date()). The two host listener lines are highlighted.
@componentsource.bsky.socialNov 6, 2026, 10:21 AM

Display key metrics with #Angular #gauges. Add gauges to Angular #dashboards so users can assess current values against defined ranges and thresholds.

componentsource.comDisplay Key Metrics with Angular GaugesAdd gauges to Angular dashboards so users can assess current values against defined ranges and thresholds.
@bright2026buds.bsky.socialNov 6, 2026, 4:49 AM

Build enterprise web apps with Angular in Montreal! Learn TypeScript, RxJS reactive state, REST APIs & Node.js backend with Nestsoft Canada.

📞 Call/WA: +91 98954 90866
🌐 nestsoft.ca/angular-js-t...

#Angular #TypeScript #WebDev #Montreal #Nestsoft

Photo, no description
@hiringlat.bsky.socialNov 6, 2026, 4:00 AM

1129 - Full-Stack Engineer (.NET/React/Angular) — GoFasti
USD 2k–3k/mo
LATAM

https://hiring.lat/job/1129-full-stack-engineer-netreactangular-gofasti/418346

#communicationskills #angular #restapis

@juanluelguerre.bsky.socialNov 5, 2026, 9:37 PM

I asked 18 features which event proves anybody uses them. 3 could answer. None sold anything. 📉

OpenTelemetry now runs from the browser to Elasticsearch, and a test holds each feature to its event.

elguerre.com/2026/11/05/s...

#Tendero #dotnet #OpenTelemetry #ai #angular #ecommerce

elguerre.comThree of eighteen features could prove they were used, and none of them sold anythingHow a .NET and Angular shop got OpenTelemetry at both ends, a Grafana stack behind a switch, and a test that holds every feature to the event proving its use.
?Unknown authorNov 5, 2026, 4:55 PM

If this is not how your coding agent implements a "you have been inactive" popup in your Angular app, you need to switch your agent/model ASAP 😄

#Angular #RxJS #WebDev

Angular code in app.ts. const ACTIVE_EVENTS = ['click', 'scroll', 'keydown', 'mousemove']. A component with selector 'app-root' and the template: @if (isInactive()) { <p class="notice">You have been inactive for a while 👀</p> }. In class App: readonly isInactive = toSignal(merge(...ACTIVE_EVENTS.map((event) => fromEvent(document, event))).pipe(startWith(null), switchMap(() => timer(10_000).pipe(map(() => true), startWith(false)))), { initialValue: false }). The merge line and the switchMap line are highlighted.
?Unknown authorNov 5, 2026, 2:42 PM

You can give a default value to an InjectionToken by providing a factory function returning that value

(a bit confusing but makes sense 😄 )

#Angular

Angular code in page-size.ts. export const PAGE_SIZE = new InjectionToken<number>('PAGE_SIZE', { factory: () => 20 }), with the factory line highlighted. A component with selector 'app-list' and template `Page size: {{ pageSize }}`; its class List has readonly pageSize = inject(PAGE_SIZE), with the comment "20, no providers needed". A second component with selector 'app-admin' imports List and has providers: [{ provide: PAGE_SIZE, useValue: 100 }] (highlighted), with template `<app-list />` and the comment "shows 100". Its class is Admin.
?Unknown authorNov 5, 2026, 1:45 PM

Retrying after an error is pretty much good UX by itself. However, you cannot keep hammering an endpoint with requests until it works (it might never work 😆 )

Thankfully, it is very easy to implement an exponential backoff with a combo of retry + timer in RxJS:

#RxJS #Angular #WebDev

Angular code in report.service.ts. An @Injectable({ providedIn: 'root' }) class ReportService with private readonly http = inject(HttpClient). Its getReport() method returns this.http.get<Report>('/api/report').pipe(retry({ ... })). The retry config (highlighted) has count: 3, with the comment "give up after 3 retries", and delay: (error: HttpErrorResponse, attempt) => { ... }. Inside, with the comment "a 404 won't fix itself, fail right away": if (error.status < 500) { return throwError(() => error); }. Then return timer(2 ** attempt * 1000), with the comment "wait 2s, 4s, 8s" (highlighted).
?Unknown authorNov 5, 2026, 12:01 PM

Not subscribed yet? 😆

www.youtube.com/@AngularSpac...

#Angular #WebDev #Livestream

?Unknown authorNov 5, 2026, 11:03 AM

I really hate default exports. Sure, it's cool to not write `.then(m => m.ComponentName)` in routes.ts...

But does it have any actual benefits?

#Angular #TypeScript #WebDev

Angular code. In settings.ts: @Component({ selector: 'app-settings', template: `...` }) followed by export default class Settings {} (highlighted). In app.routes.ts: export const routes: Routes = [ { path: 'settings', loadComponent: () => import('./settings') } (highlighted), { path: 'profile', loadComponent: () => import('./profile').then((m) => m.Profile) } ].
?Unknown authorNov 5, 2026, 10:23 AM

3. Throw in the events plugin and a parent global signal store, and you have everything in NgRx Store + better composability

#Angular #NgRx #WebDev

@stylelib.orgNov 4, 2026, 11:25 PM

Unice – Multipurpose Angular 21 Template for SaaS, Startup Agency

https://themes.stylelib.org/?p=25079

#agency #angular #blog #business #corporate #creative #ecommerce #modern #multipurpose #parallax #personal #portfolio #saas #sitetemplates #themeforest

Unice – Multipurpose Angular 21 Template for SaaS, Startup  Agency
@jliarce.bsky.socialNov 4, 2026, 8:59 PM

Cargas rápidas, paquetes pequeños y rastreos limpios. 🚀 Angular sin zonas está cambiando todo. ¿Ya probando Zoneless en staging o sigues con Zone.js? 🤔 ¡Cuéntanos! Más info: https://bsky.app/profile/angular.dev/post/3mzitboeqsj2c #Angular

@dimeloper.bsky.socialNov 4, 2026, 6:34 PM

Editing store state with Angular's Signal Forms takes one piece more than creating it. form() needs a writable signal, a SignalStore's state is read-only, so a linkedSignal goes in between.

Since #angular 22.1 it can write straight to the store 👇

dev.to/dimeloper/si...

dev.toEditing NgRx Signal Store State with Angular Signal FormsIn the previous post we moved the create form of our task board to Angular Signal Forms and made it...
?Unknown authorNov 4, 2026, 6:30 PM

Don't forget to subscribe to our YouTube channel! 🔔

www.youtube.com/@AngularSpac...

#Angular #NgRx #WebDev

@igorsedov.comNov 4, 2026, 5:02 PM

🚀 New in #Angular 22
💡 Lazy Services with injectAsync()
Angular 22 brings granular code-splitting directly to the dependency injection layer with injectAsync().

📺 Watch: youtu.be/CsjVc5hbbfw

youtu.beNew in Angular 22: Lazy Services with injectAsyncYouTube video by Igor Sedov
?Unknown authorNov 4, 2026, 3:48 PM

We go live in one hour! 🔴

Building a real project with NgRx Toolkit, going through as many of its features as we can fit (spoiler: not all of them, there are too many 😅)

Oh, and we have a secret guest joining us... Tune in to find out who 🤫

www.youtube.com/watch?v=yDvh...

#Angular

"Hands on: NgRx Toolkit! Supercharging SignalStore", November 4, 4:30 PM UTC. Host Armen Vardanyan on a purple space background, with the Angular Space TV and Angular logos.
?Unknown authorNov 4, 2026, 2:47 PM

And if you are familiar with Angular, Nx is the best place to start

Maybe I should do a more detailed thread on this?

#Angular #Nx

@bastacon.bsky.socialNov 4, 2026, 2:03 PM

🤖 KI-generierte UIs statt klassischer Chatbots?

@manfredsteyer.bsky.social spricht mit @mrdowden.com im Signals Podcast über #Angular und Agentic UIs.

• Dynamische Dashboards
• AG-UI & A2UI
• Sicherheit & Testing

🎧 https://tinyurl.com/2cw6summ

#bastacon

Photo, no description