Observer (TypeScript Design Patterns)

Опубликовано: 28 Сентябрь 2024
на канале: Simply Explained
29,041
738

Often when information in one part of application changes, other parts need to be updates. This is the problem that the Observer pattern solves very efficiently.

In this example we'll program a weather station that notifies a fan and a temperature display every time a new measurement was taken.

Interested? Continue watching this series and learn more design patterns:
https://goo.gl/e1Ab4w

Are you new to TypeScript? Check out my video series to get started with TypeScript:
https://goo.gl/mOEotf

The code used in this video is available on GitHub:
https://github.com/SavjeeTutorials/ty...

► About me
Follow me on Twitter:
  / savjee  

Check out my blog:
https://www.savjee.be

Subscribe to newsletter:
https://goo.gl/nueDfz

Like my Facebook page:
  / savjee