TaskList API re-render component #1351
-
Hi Dataview community, DataviewService.getDataviewAPI().taskList(
taskValue as Grouping<SListItem>,
false,
taskRef.current,
view,
view.file.path
); works well but any change inside Is there a way to create a custom component that encapsulates those rerenders? I tried without result something like this: DataviewService.getDataviewAPI().taskList(
taskValue as Grouping<SListItem>,
false,
taskRef.current,
new MarkdownRenderChild(taskRef.current)
view.file.path
); Demo of the re render trouble: Screen.Recording.2022-08-22.at.18.29.54.mov |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Do you have a link to how this code is being called? The |
Beta Was this translation helpful? Give feedback.
Do you have a link to how this code is being called? The
taskList
function just adds a new child component toview
which renders the task on load and removes it on unload; it shouldn't change unless the cell is being re-rendered externally.