class Programmer : IEnableMuch {

"Simplicity can't be bought later, it must be earned from the start" -- DB

Sunday, June 29, 2025

changeDetectorRef.markForCheck()

›
When using changeDetection: ChangeDetectionStrategy.OnPush , you need to call changeDetectorRef.markForCheck(). To avoid explicitly calling ...
Saturday, June 28, 2025

Angular: proxy.conf.json; React: vite proxy

›
Angular angular.json "serve": { "options": { "ssl": true, "s...
Friday, June 27, 2025

Angular: Type 'Event' is not assignable to type 'string'.

›
If this innocent-looking code Color: <input [(ngModel)]="color" /> gives you this error: Type 'Event' is not a...

React: Just JavaScript ternary; Angular: ng-container, ngIf, else, ng-template

›
React import { useState } from 'react'; import './App.css'; function App() { const [theme, setTheme] = useState('li...
Thursday, June 26, 2025

React: Context; Angular: @Injectable

›
Bootstrapping React <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> ...
›
Home
View web version
Powered by Blogger.