Update FAQ
6
FAQ.md
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]]
|
||||||
|
|||||||
Reference in New Issue
Block a user