Commit 3c42812
fix(web): ssr with hooks support (#2175)
* feat(react): init v4
* build: v4.0.0-alpha.0
* feat: update examples to v4 (#2136)
* fix: delete unnecessary example
* fix: migrate the web examples to v4 api
* fix: migrate site examples to v4 api
* chore: update yarn.lock
* chore: remove deprecated components
* fix: migrate deprecated props
* chore: update packages
* fix: migrate to reactivesearchAPIConfig
* chore: update packages
* chore: sync submodule
Co-authored-by: bietkul <[email protected]>
* build(web): v4.0.0-alpha.1
* feat(web): util method to generate ssr initial state
* fix(web): change next-ssr example to user new util method
* fix(web): changes to RS components to be compatible with SSR
* fix(web): complete ssr without QueryParams
* feat(web): changes for supporting queryParams
* fix(web): ssr next.js examples to use new sr implementation
* fix(web): remove unused imports
* sync submodule
* fix(web): react-dom ssr example to use new stratergy
* sync submodule
* fix(web): ssr with react-dom example refactor
* fix(web): query generation fix for term type facet
* fix(web): remove defaultValue from searchbox in next example
* sync reactivecore submodule
* add urlparams and pagination props to Reactivelist in example
* remove default values
* fix(web): index settings for date examples
* sync submodule
* fix(web): examples and add third param to control query execution to redux action
* sync submodule
* fix(web): export getServerState method as default export
* fix(web): pass default queryFormat for DateRange and DatePicker
* remove customQuery prop
* fix dateRange example
* fix(web): Daterange example
* fix: background
* fix(web): rangeslider component
* fix(web): add URLParams to rangeslider example
* fix(web): dynamicrangeslider component
* export getServerState method from RS
* chore: init ssr vue
* import getServerState from lib
* sync submodule
* fix(web): breaking ReactiveList file
* feat: add support for vue ssr
* chore: upgrade packages
* fix(web): ssr example to use movies index
* sync submodule
* fix(web): ssr render with hooks
* fix: ssr example
* fix(web): import path
---------
Co-authored-by: bietkul <[email protected]>
Co-authored-by: Shubham Shah <[email protected]>1 parent 4ff7f2a commit 3c42812
File tree
8 files changed
+1846
-2520
lines changed- packages
- web
- examples/ssr/pages
- styles
- src/server
8 files changed
+1846
-2520
lines changedSubmodule playground updated 1 file
Submodule vue-playground updated 63 files
- .storybook/addons.js+2
- .storybook/config.js+29
- .storybook/main.js-14
- .storybook/manager.js-52
- .storybook/mixin.js+21-11
- .storybook/preview-head.html+1
- .storybook/preview.js-29
- .storybook/webpack.config.js+6
- package.json+29-22
- stories/BaseDataSearch.vue+58
- stories/BaseDynamicRangeSlider.vue+63-73
- stories/BaseMultiDropdownList.vue+57-65
- stories/BaseMultiList.vue+57-65
- stories/BaseMultiRange.vue+62-70
- stories/BaseRangeInput.vue+111-101
- stories/BaseRangeSlider.vue+61-69
- stories/BaseReactiveComponent.vue+46-48
- stories/BaseReactiveList.vue+45-49
- stories/BaseReactiveListCardLayout.vue+2-2
- stories/BaseResultCard.vue+46-43
- stories/BaseResultList.vue+47-45
- stories/BaseSearchBox.vue+51-57
- stories/BaseSingleDropdownList.vue+2-2
- stories/BaseSingleList.vue+2-2
- stories/BaseSingleRange.vue+2-2
- stories/BaseToggleButton.vue+43-43
- stories/DataSearchWithAddonAfterSlot.vue+69
- stories/DataSearchWithAddonBeforeAfterSlots.vue+70
- stories/DataSearchWithAddonBeforeSlot.vue+69
- stories/DataSearchWithCustomSuggestionIcons.vue+83
- stories/DataSearchWithIndexProp.vue+72
- stories/DataSearchWithRenderQuerySuggestionsSlot.vue+107
- stories/DataSearchWithRenderSlot.vue+108
- stories/MultiDropdownListWithRenderItemSlot.vue+8-10
- stories/MultiDropdownListWithRenderNoResultsSlot.vue+2-2
- stories/MultiDropdownListWithRenderSlot.vue+24-23
- stories/MultiListWithIndexProp.vue+2-2
- stories/MultiListWithRenderItemSlot.vue+8-10
- stories/MultiListWithRenderNoResultsSlot.vue+2-2
- stories/MultiListWithRenderSlot.vue+20-23
- stories/ReactiveComponentWithDistinctFieldProp.vue+47-51
- stories/ReactiveListWithCustomResultStatsSlot.vue+5-9
- stories/ReactiveListWithNoResultsSlot.vue+2-2
- stories/SearchBoxWithAddonAfterSlot.vue+3-5
- stories/SearchBoxWithAddonBeforeAfterSlots.vue+4-8
- stories/SearchBoxWithAddonBeforeSlot.vue+3-5
- stories/SearchBoxWithCustomSuggestionIcons.vue+71-81
- stories/SearchBoxWithIndexProp.vue+64-70
- stories/SearchBoxWithRenderItemSlot.vue+6-5
- stories/SearchBoxWithRenderSlot.vue+21-19
- stories/SingleDropdownListWithRenderItemSlot.vue+9-11
- stories/SingleDropdownListWithRenderNoResultsSlot.vue+2-2
- stories/SingleDropdownListWithRenderSlot.vue+24-23
- stories/SingleListWithRenderItemSlot.vue+8-10
- stories/SingleListWithRenderNoResultsSlot.vue+2-2
- stories/SingleListWithRenderSlot.vue+20-23
- stories/index.js+1.2k
- stories/index.stories.js-1.1k
- stories/reactivemaps/BaseReactiveGoogleMap.vue-57
- stories/reactivemaps/Img.js-34
- stories/reactivemaps/styles.css-150
- yarn-error.log+44-22.1k
- yarn.lock+22.1k
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| 9 | + | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 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 | + | |
23 | 68 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
36 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
37 | 108 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 109 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
66 | 153 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
83 | 219 | | |
84 | | - | |
85 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
86 | 225 | | |
87 | | - | |
88 | | - | |
89 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
90 | 230 | | |
91 | 231 | | |
92 | 232 | | |
93 | 233 | | |
94 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
95 | 241 | | |
96 | 242 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
| |||
119 | 116 | | |
120 | 117 | | |
121 | 118 | | |
122 | | - | |
| 119 | + | |
123 | 120 | | |
124 | 121 | | |
125 | 122 | | |
| |||
0 commit comments