Mini projects to study and help others with them.
Is a behavioral design pattern
that allows some objects to notify other objects about changes in their state
- In this application I made one input editable and two inputs disabled, these disabled inputs will take the input value while listening. If they're not listening, don't change your state:
- run
npm install
- run
npx tsc observer.ts -w
in terminal to generate a .js file - use Live Server to run in browser