forked from redfin/react-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentrypoints.js
84 lines (84 loc) · 2.3 KB
/
entrypoints.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
78
79
80
81
82
83
84
// These show up on the index page (homepage).
// Your `path` must be able to handle `entry`.
// Your module must live at `pages${entry}`.
// If you don't include a `path`, it will be created for you from `entry`.
// Your method will be defaulted to "get".
// The default `description` is your route _key_.
module.exports = {
RootAttributes: {
entry: "/root/attributes",
description: "Attributes on root elements and containers",
},
RootReuseTrim: {
entry: "/root/reuse-trim",
description: "Dangling nodes should be trimmed with `reuseDom`",
},
RootWhen: {
entry: "/root/when",
description: "<RootElement when={...}>",
},
RootOrder: {
entry: "/root/order",
description: "Out of order render",
},
RootProvider: {
entry: "/root/rootProvider",
description: "<RootProvider store={...}>",
},
ReduxAdapter: {
entry: "/root/reduxAdapter",
description: "Redux Adapter basics",
},
RootError: {
entry: "/root/error",
description: "A data error for a root element",
},
AboveTheFold: {
entry: "/root/aboveTheFold",
description: "Above The Fold Count",
},
NavigationPlayground: {
entry: "/navigation/playground",
description: "Navigation playground",
},
Forwarding: {
entry: "/navigation/forward",
description: "Test how page forwarding works with passing data down",
},
StylePromises: {
entry: "/styles/promises",
description: "Stylesheets returned from promises",
},
Sass: {
entry: "/styles/sass",
description: "SASS styles",
},
NavigationDataBundleCache: {
entry: "/navigation/data-bundle-cache",
description: "Data bundle cache",
},
NavigateTo: {
entry: "/navigation/navigateTo",
description: "Navigate using `navigateTo()`",
},
ErrorLogs: {
entry: "/error/logs",
description: "Generate errors in the logs",
},
BottleneckElements: {
entry: "/bottleneck/elements",
description: "Test if number of elements on a page is a bottleneck",
},
BottleneckDataRequests: {
entry: "/bottleneck/dataRequests",
description: "Test if number of data requests on a page is a bottleneck",
},
BottleneckLargeDataRequests: {
entry: "/bottleneck/largeDataRequests",
description: "Test if large data requests on a page is a bottleneck",
},
BottleneckMiddleware: {
entry: "/bottleneck/middleware",
description: "Test if amount of middleware on a page is a bottleneck",
},
}