Difference between Singleton and Region


#1

Hi, maybe a silly question but what is the difference between singleton and region? Thx :slight_smile:

BTW cockpit is really great!


Singletons vs Regions
Announcement: Regions module will be removed in the next release!
#2

Quoting @artur:

Singletons will replace regions. While looking back on past projects I investigated that regions where postly used like “single item” collections (e.g. for global configuration etc). the template feature was pretty useless as most of the time the rendering was on the client side. so regions will get removed from the core and will get replaced by “Singletons”.


What are singletons?
Singletons vs Regions