This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsidebars.js
77 lines (75 loc) · 2.18 KB
/
sidebars.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
module.exports = {
someSidebar: {
介绍: [
'introduction/motivation',
'introduction/core-concepts',
'introduction/installation',
'introduction/getting-started',
],
基础: [
'basic-tutorial/intro',
'basic-tutorial/atoms',
'basic-tutorial/selectors',
// 'basic-tutorial/demo',
// 'basic-tutorial/performance',
],
指南: [
// {
// 'Migrating to Recoil': [
// 'guides/migrating/from-react-state',
// 'guides/migrating/from-redux',
// 'guides/migrating/from-mobx',
// ],
// },
// 'guides/usage-flow',
// 'guides/usage-typescript',
'guides/asynchronous-data-queries',
'guides/asynchronous-state-sync',
'guides/persistence',
// 'guides/writing-test',
// 'guides/code-splitting',
],
'API 参考': [
{
Core: [
'api-reference/core/RecoilRoot',
'api-reference/core/atom',
'api-reference/core/selector',
'api-reference/core/isRecoilValue',
// 'api-reference/core/DefaultValue',
{
Hooks: [
'api-reference/core/useRecoilState',
'api-reference/core/useRecoilValue',
'api-reference/core/useSetRecoilState',
'api-reference/core/useResetRecoilState',
'api-reference/core/useRecoilValueLoadable',
'api-reference/core/useRecoilStateLoadable',
'api-reference/core/useRecoilCallback',
],
},
],
},
{
Utils: [
'api-reference/utils/atomFamily',
'api-reference/utils/selectorFamily',
'api-reference/utils/constSelector',
'api-reference/utils/errorSelector',
'api-reference/utils/noWait',
'api-reference/utils/waitForAll',
'api-reference/utils/waitForAny',
'api-reference/utils/waitForNone',
],
},
],
},
};