We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb8fdf1 commit 7aec198Copy full SHA for 7aec198
src/routes/reference/secondary-primitives/create-selector.mdx
@@ -16,7 +16,7 @@ Useful for delegated selection state. As it makes the operation O(1) instead of
16
```tsx
17
const isSelected = createSelector(selectedId)
18
19
-;<For each={list()}>
+<For each={list()}>
20
{(item) => <li classList={{ active: isSelected(item.id) }}>{item.name}</li>}
21
</For>
22
```
0 commit comments