mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-20 18:54:03 +08:00
use case ``` const tagService = useService(TagService); const tags = useLiveData(tagService.tags); const currentTagLiveData = tagService.tagByTagId(tagId); const currentTag = useLiveData(currentTagLiveData); ```