lion/docs/fundamentals/tools/singleton-manager/example-success/index.md
okadurin 70b0241189 feat: initial Astro integration
Co-authored-by: Oleksii Kadurin <ovkadurin@gmail.com>; Thijs Louisse <Thijs.Louisse@ing.com>
2025-10-03 09:37:32 +02:00

759 B

parts title eleventyNavigation
Example Success
Singleton Manager
Tools
Singleton Manager: Example Success
key title order parent
Tools >> Singleton Manager >> Example Success Example Success 30 Tools >> Singleton Manager

Tools >> Singleton Manager >> Example Success ||30

In this SPA (Single Page Application) demo you will be able to reproduce the solution.

  1. Click on Page A
  2. Click on block
  3. Click on Page B
  4. Click on unblock => state is unblocked globally as there is only a single instance

With this solutions users can not break the app anymore.

Loading App...

import './demo-app.js';