Last active
July 13, 2019 14:20
-
-
Save iazel/9d648a1c1a7afd5b32fb6a5297be8612 to your computer and use it in GitHub Desktop.
Composable UI / Todo List / Filtered
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { c$filter$$ } from '@crui/reactive/setups/filter' | |
const TodoList = (store: TodoStore) => | |
h('ul', sc2( | |
props({ className: 'tood-list' }), | |
c$filter$$( | |
store.getTodos(), | |
TodoElement, | |
store.getVisibilityFilter(), | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment