diff --git a/FAQ.md b/FAQ.md index 67bde71..e6e0489 100644 --- a/FAQ.md +++ b/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. +## 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]] \ No newline at end of file +[[Home]] | [[Programming Guide]] | [[API Reference]] | [[Design and Architecture]] | [[Contributing]]