You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**withGroup:** add support for namespaces ([#681](https://github.com/studiometa/js-toolkit/pull/681), [3e50e1f9](https://github.com/studiometa/js-toolkit/commit/3e50e1f9))
-**withGroup:** do not include instances disconnected from the DOM in groups ([#680](https://github.com/studiometa/js-toolkit/issues/680), [#681](https://github.com/studiometa/js-toolkit/pull/681), [e214ba38](https://github.com/studiometa/js-toolkit/commit/e214ba38))
::: tip 💡 Two-way binding with [`DataModel`](https://ui.studiometa.dev/-/components/DataModel/)
107
+
108
+
You should use the [`DataModel` component](https://ui.studiometa.dev/-/components/DataModel/) from the [@studometa/ui package](https://ui.studiometa.dev) along its accompanying [`DataBind`](https://ui.studiometa.dev/-/components/DataBind/), [`DataComputed`](https://ui.studiometa.dev/-/components/DataComputed/) and [`DataEffect`](https://ui.studiometa.dev/-/components/DataEffect/) components if you need to add some reactivity to your existing DOM.
109
+
110
+
:::
111
+
112
+
### Using a namespace to avoid group collision
113
+
114
+
When using multiple groups in the same DOM tree, it can be useful to namespace them to avoid collisions.
115
+
116
+
In the following example, both `Tabs` and `Accordion` components use a group decorator, but they are namespaced to avoid interference if they share the same `data-option-group` attribute value.
0 commit comments