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 98c9dd8 commit a832ae5Copy full SHA for a832ae5
site/public/api/filetree.md
@@ -117,3 +117,8 @@ addDependency(requiredBy: string, requiring: string)
117
```
118
119
Makes changes to file at `requiring` invalidate module at `requiredBy`.
120
+
121
+**NOTE:** You should *not* usually need to call this directly.
122
+It's used internally by [useTree](module-hooks.md#usetree).
123
+It's only made public so you can use it for *non-module* files.
124
+This allows you to invalidate a module when a data file changes.
0 commit comments