Update FAQ

2025-07-08 21:28:04 +02:00
parent d39b9c2be4
commit 5f6ada5927

6
FAQ.md

@@ -24,5 +24,9 @@ Yes, arrays are supported and compared using `Objects.deepEquals`.
Use a mock of the `Listener` interface. The key-based typing makes it easy to isolate in unit tests. Use a mock of the `Listener` interface. The key-based typing makes it easy to isolate in unit tests.
## How do I use multiple independent contexts?
Use `Ctx.INSTANCE.getContext("contextName")` to obtain a named context, which behaves like a separate key-value store with its own listeners. This allows modular and isolated state management within the same application.
--- ---
[[Home]] | [[Programming Guide]] | [[API Reference]] | [[Design and Architecture]] | [[Contributing]] [[Home]] | [[Programming Guide]] | [[API Reference]] | [[Design and Architecture]] | [[Contributing]]