u
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
* - `categoryViewAutomat`: `loadTree()` calls `loadAllCategoryViews()` once
|
||||
* `treeStatus === 'succeeded'`, so every category's articles are already cached
|
||||
* when a route mounts. Mutations patch the loaded views through the same module.
|
||||
* - `articleIndexAutomat`: Derives its client-side search index from the union of
|
||||
* the loaded category views, so the index costs no requests of its own and
|
||||
* `GET /api/articleIndex` is no longer used.
|
||||
*/
|
||||
|
||||
import { Automat } from 'react-automat';
|
||||
@@ -458,8 +461,10 @@ export { categoryDisplayName, categorySlug, normalizeCategoryMap } from '../util
|
||||
export {
|
||||
categoryViews,
|
||||
getOrCreateCategoryAutomat,
|
||||
disposeAllCategoryViewAutomats,
|
||||
invalidateAllCategoryViews,
|
||||
disposeAllCategoryViewAutomats,
|
||||
loadAllCategoryViews,
|
||||
collectLoadedCategoryViewData,
|
||||
} from './categoryViewAutomat';
|
||||
|
||||
export default categoryAutomat;
|
||||
|
||||
Reference in New Issue
Block a user