@prismicio/react 2.0.2 → 2.0.3-debug.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,321 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ ### [2.0.2](https://github.com/prismicio/prismic-react/compare/v2.0.1...v2.0.2) (2021-12-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * use correct toolbar URL (`new=true`) ([8de749c](https://github.com/prismicio/prismic-react/commit/8de749cde1b06e52f58a0bdef3d39a11b60d21f0))
11
+
12
+
13
+ ### Chore
14
+
15
+ * remove incorrect CHANGELOG entry ([60967b8](https://github.com/prismicio/prismic-react/commit/60967b8fbd1be02b92a1e90dcb060bb3d4f47157))
16
+
17
+ ### [2.0.1](https://github.com/prismicio/prismic-react/compare/v1.3.4...v2.0.1) (2021-12-16)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * compose `<PrismicRichText>` components with `<PrismicProvider>` components ([e2d1af4](https://github.com/prismicio/prismic-react/commit/e2d1af48a10f9c664b6acb2dda7750a2a9cdec8b))
23
+
24
+
25
+ ### Documentation
26
+
27
+ * remove `[@beta](https://github.com/beta)` tag from installation command [skip ci] ([0957770](https://github.com/prismicio/prismic-react/commit/0957770d7a14414dfbfee8c10fa26b266ac3f700))
28
+ * update docs link [skip ci] ([8bf355e](https://github.com/prismicio/prismic-react/commit/8bf355e904ed40bcaf00d855483ade8b752b7116))
29
+
30
+
31
+ ### Chore
32
+
33
+ * add github issue and pull request templates ([25f2d4f](https://github.com/prismicio/prismic-react/commit/25f2d4f3ef89022f52eac0481cbf37b79b4f0e3b))
34
+ * **deps:** update dependencies ([b3dbec1](https://github.com/prismicio/prismic-react/commit/b3dbec14dab2b8e3d75c76d91177201b63e6d28b))
35
+
36
+
37
+ ### Refactor
38
+
39
+ * simplify Rich Text serializer composition ([0904a3e](https://github.com/prismicio/prismic-react/commit/0904a3eefd76e82f934e2c6b1b4cff6728e4c611))
40
+ * use `React.ElementType` over `string | React.ComponentType` ([19094f6](https://github.com/prismicio/prismic-react/commit/19094f62465208bee95051d88321bb808c390a4f))
41
+
42
+ ## [2.0.0](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.9...v2.0.0) (2021-12-03)
43
+
44
+ ## [2.0.0-beta.9](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.8...v2.0.0-beta.9) (2021-12-03)
45
+
46
+
47
+ ### Bug Fixes
48
+
49
+ * cancel client requests on hook cleanup ([2c91305](https://github.com/prismicio/prismic-reactjs/commit/2c91305a6138eca0bd7b4f19645ac4b7b4f717f8))
50
+ * prevent infinite loops in client hooks due to object arguments ([4858113](https://github.com/prismicio/prismic-reactjs/commit/4858113754a78f008b270a1082af711f72c8a3fb))
51
+ * re-run hook on argument changes ([4b2da91](https://github.com/prismicio/prismic-reactjs/commit/4b2da91b4eda73f69ba7999f0d7d1bb144c1e45a))
52
+
53
+ ## [2.0.0-beta.8](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.7...v2.0.0-beta.8) (2021-12-03)
54
+
55
+
56
+ ### Features
57
+
58
+ * re-export Element from `@prismicio/richtext` ([ae79fd6](https://github.com/prismicio/prismic-reactjs/commit/ae79fd6d09ae7045d96cf6175173f0a29d9a9be9))
59
+
60
+
61
+ ### Bug Fixes
62
+
63
+ * inject Prismic Toolbar only once ([aa14cbd](https://github.com/prismicio/prismic-reactjs/commit/aa14cbd9c7883ee8c9d8760fcbbce1d334c696c4))
64
+ * re-run client hooks on parameter changes ([1fd3dad](https://github.com/prismicio/prismic-reactjs/commit/1fd3dad33336c58b67e533f7d10adf1c05b60f11))
65
+ * restore default link component types ([9d6f366](https://github.com/prismicio/prismic-reactjs/commit/9d6f366bae85ec151e7e5ed2d178e6eda6671a99))
66
+ * use Link Resolver from context in usePrismicPreviewResolver ([ed44fa6](https://github.com/prismicio/prismic-reactjs/commit/ed44fa6609b0ac3525dfe7a173bad0aac03a9229))
67
+
68
+
69
+ ### Chore
70
+
71
+ * **deps:** maintain dependencies ([fc35a26](https://github.com/prismicio/prismic-reactjs/commit/fc35a26008da703b7506b7632dbd92d06b4e6f23))
72
+ * **deps:** update dependencies ([05b9d33](https://github.com/prismicio/prismic-reactjs/commit/05b9d331a5f651b9f41b927968c1e0167ef6655f))
73
+
74
+ ## [2.0.0-beta.7](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.6...v2.0.0-beta.7) (2021-11-23)
75
+
76
+
77
+ ### Bug Fixes
78
+
79
+ * render Slices in the correct order in `<SliceZone>` ([#104](https://github.com/prismicio/prismic-reactjs/issues/104)) ([ffc4d4a](https://github.com/prismicio/prismic-reactjs/commit/ffc4d4ad6a4373f827cef400a47c53daea96ff38))
80
+
81
+ ## [2.0.0-beta.6](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.5...v2.0.0-beta.6) (2021-11-22)
82
+
83
+
84
+ ### Features
85
+
86
+ * add `resolver` prop to SliceZone for backwards compatibility with `next-slicezone` ([#103](https://github.com/prismicio/prismic-reactjs/issues/103)) ([cfdcfb1](https://github.com/prismicio/prismic-reactjs/commit/cfdcfb1e98367e56e4c61464f6126d4f176636ec))
87
+
88
+
89
+ ### Chore
90
+
91
+ * add `jsdocSeparateTagGroups` option ([c0ab73e](https://github.com/prismicio/prismic-reactjs/commit/c0ab73e38834daabd56b791473da13d03fc7f7cf))
92
+ * update ignore files ([68dc008](https://github.com/prismicio/prismic-reactjs/commit/68dc0088a0c444131be5440a7ca1989e0616ed50))
93
+
94
+ ## [2.0.0-beta.5](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.4...v2.0.0-beta.5) (2021-11-20)
95
+
96
+
97
+ ### Bug Fixes
98
+
99
+ * identify package as side-effect free ([3e3e009](https://github.com/prismicio/prismic-reactjs/commit/3e3e009eeb4098158981dab0cb7069adeef3c8e7))
100
+
101
+
102
+ ### Refactor
103
+
104
+ * resolve hook lint warning ([6ff01a8](https://github.com/prismicio/prismic-reactjs/commit/6ff01a826622bf84078d77b8652f5a392b75951b))
105
+
106
+ ## [2.0.0-beta.4](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.3...v2.0.0-beta.4) (2021-11-20)
107
+
108
+
109
+ ### Features
110
+
111
+ * add `usePrismicPreviewResolver` ([4e64de2](https://github.com/prismicio/prismic-reactjs/commit/4e64de2405937d86c77f188f88f9162e1c3ab2df))
112
+
113
+
114
+ ### Bug Fixes
115
+
116
+ * infer type of internal/external Link component ([891140f](https://github.com/prismicio/prismic-reactjs/commit/891140fd328f4beb63b532f1ed8f569d9d24fec2))
117
+ * omit required LinkProps from PrismicLink ([4ea3128](https://github.com/prismicio/prismic-reactjs/commit/4ea3128e6bb8be8996805e315cefc68dc3311c3e))
118
+
119
+
120
+ ### Refactor
121
+
122
+ * rename hooks.ts to clientHooks.ts ([28d4a73](https://github.com/prismicio/prismic-reactjs/commit/28d4a737c819809c9812437230451d00d43e97b9))
123
+
124
+ ## [2.0.0-beta.3](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.2...v2.0.0-beta.3) (2021-11-19)
125
+
126
+
127
+ ### Features
128
+
129
+ * rename useAllPrismicDocuments to useAllPrismicDocumentsDangerously ([22d63fe](https://github.com/prismicio/prismic-reactjs/commit/22d63fe0866006f02bbf044e27bfdd0fa86a4b39))
130
+ * treat @prismicio/client as an optional peer dependency ([0e0b0b5](https://github.com/prismicio/prismic-reactjs/commit/0e0b0b5e10a28774629aaa6e6811e872706ca562))
131
+
132
+ ## [2.0.0-beta.2](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2021-11-04)
133
+
134
+
135
+ ### Features
136
+
137
+ * support nullish fields in PrismicRichText and PrismicText ([7b6f73f](https://github.com/prismicio/prismic-reactjs/commit/7b6f73f2ebe014fefbd0e9797b9a189bea1833ab)), closes [#99](https://github.com/prismicio/prismic-reactjs/issues/99)
138
+
139
+
140
+ ### Bug Fixes
141
+
142
+ * support null PrismicLink target and rel props ([850d9a8](https://github.com/prismicio/prismic-reactjs/commit/850d9a8a7dab8024536b77b7b9f482c017dda907))
143
+
144
+
145
+ ### Documentation
146
+
147
+ * update installation command with beta tag ([a08ac53](https://github.com/prismicio/prismic-reactjs/commit/a08ac53cf3f128e98c644c17dab7c3b8d3e8b295))
148
+
149
+
150
+ ### Chore
151
+
152
+ * add github issue and pull request templates ([25f2d4f](https://github.com/prismicio/prismic-reactjs/commit/25f2d4f3ef89022f52eac0481cbf37b79b4f0e3b))
153
+ * remove outdated README comment ([75b4e3e](https://github.com/prismicio/prismic-reactjs/commit/75b4e3e7e98cea1cffa93b7e946b17762a7bbf51))
154
+ * update dependencies ([3542673](https://github.com/prismicio/prismic-reactjs/commit/35426734ae20e41fcd510c3521cdb9fe588633f7))
155
+
156
+ ## [2.0.0-beta.1](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-alpha.6...v2.0.0-beta.1) (2021-11-01)
157
+
158
+
159
+ ### Features
160
+
161
+ * add *BySomeTags and *ByEveryTag hooks ([7faa6b3](https://github.com/prismicio/prismic-reactjs/commit/7faa6b35c907dd451fb1ccc605ec8368bec27d55))
162
+
163
+
164
+ ### Refactor
165
+
166
+ * use universal Error object in client hooks ([c02a557](https://github.com/prismicio/prismic-reactjs/commit/c02a5575df001780aff23510c9c9ef3ebb8272eb))
167
+
168
+
169
+ ### Chore
170
+
171
+ * **deps:** update dependencies ([49878fd](https://github.com/prismicio/prismic-reactjs/commit/49878fd5352b494f979f5e3620e9ccf17614cb55))
172
+ * prepare for beta release ([8f6cb34](https://github.com/prismicio/prismic-reactjs/commit/8f6cb34a93152e6640e2f01fde4b4fb2a4c8940a))
173
+
174
+ ## [2.0.0-alpha.6](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2021-10-09)
175
+
176
+
177
+ ### Features
178
+
179
+ * add `usePrismicDocumentsByUIDs` and `useAllPrismicDocumentsByUIDs` ([3a25db8](https://github.com/prismicio/prismic-reactjs/commit/3a25db8cc9fa5909ff025028de7502b5790f2b5b))
180
+ * support intrinsic props from link components ([ab82e96](https://github.com/prismicio/prismic-reactjs/commit/ab82e9670d36fb533044e071481d1a7e3c2c7317))
181
+
182
+
183
+ ### Bug Fixes
184
+
185
+ * add keys to rendered Rich Text components ([b0300d3](https://github.com/prismicio/prismic-reactjs/commit/b0300d34605bb1d428767e80a29f641b2fd9db8c))
186
+ * export PrismicText ([87457bf](https://github.com/prismicio/prismic-reactjs/commit/87457bfa05e56f34eef7f609f2d6d9c1d16984ef))
187
+ * looser SliceZoneComponents type to support non-const `slice_type` ([c227fec](https://github.com/prismicio/prismic-reactjs/commit/c227fece72338a4b12c3f9f5f26f814900fe59d4))
188
+ * move `@prismicio/client` and `@prismicio/helpers` to peer dependencies ([91a9381](https://github.com/prismicio/prismic-reactjs/commit/91a938164487e4f01944cb906986d9db8abe00b9))
189
+ * only pass external props to rendered PrismicLink component ([1f9d9a5](https://github.com/prismicio/prismic-reactjs/commit/1f9d9a50236e9d6711fc49d3b3c2945f8d0ab2c3))
190
+ * render Rich Text line breaks as <br /> ([4eaa6dd](https://github.com/prismicio/prismic-reactjs/commit/4eaa6dd5ab33262e536c6d46d901c0aed2abf731))
191
+ * use string union over enum for hook states ([fef36bc](https://github.com/prismicio/prismic-reactjs/commit/fef36bc49baed5ff4f134c2ca6d94153516f9bcc))
192
+
193
+
194
+ ### Documentation
195
+
196
+ * update PrismicToolbar description ([1a96dd6](https://github.com/prismicio/prismic-reactjs/commit/1a96dd6739cf0cd37def03ba6b8bbaaa91b365b9))
197
+
198
+
199
+ ### Refactor
200
+
201
+ * reorganize PrismicLink ([9dfc9b9](https://github.com/prismicio/prismic-reactjs/commit/9dfc9b9baca6fd7a2a928cd13dd4f0c8d5f55fec))
202
+
203
+
204
+ ### Chore
205
+
206
+ * add @prismicio/client and @prismicio/helpers as devDependencies ([672454f](https://github.com/prismicio/prismic-reactjs/commit/672454f74087c2ae1766a3b89e0ee8b16339e02f))
207
+ * update dependencies ([c342721](https://github.com/prismicio/prismic-reactjs/commit/c342721cfa6fb6479ec6f496056b67d4cbf58b30))
208
+ * update package-lock.json ([b8abf23](https://github.com/prismicio/prismic-reactjs/commit/b8abf23394f76b15fa823f166e9b2726eada7026))
209
+
210
+ ## [2.0.0-alpha.5](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2021-09-27)
211
+
212
+
213
+ ### Bug Fixes
214
+
215
+ * export PrismicProvider props type ([848cd7d](https://github.com/prismicio/prismic-reactjs/commit/848cd7def29712d72b33f334ba1e738968463746))
216
+
217
+
218
+ ### Chore
219
+
220
+ * **deps:** maintain dependencies ([7437659](https://github.com/prismicio/prismic-reactjs/commit/74376591ec5e394ead1359df73b723baf02e9c53))
221
+ * update template config ([8d63067](https://github.com/prismicio/prismic-reactjs/commit/8d63067a5c419e5082b741e57e03f0a96eee3d12))
222
+
223
+ ## [2.0.0-alpha.4](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2021-09-15)
224
+
225
+
226
+ ### Bug Fixes
227
+
228
+ * allow undefined SliceZone slices and components ([a44bebf](https://github.com/prismicio/prismic-reactjs/commit/a44bebf16617e220dbbbec2263c912238ff0f1b6))
229
+ * proper PrismicRichText serializer fallbacks ([ca1d37a](https://github.com/prismicio/prismic-reactjs/commit/ca1d37ab6f522e2b0d9ad88c5c7bc2450b5c7f4d))
230
+
231
+ ## [2.0.0-alpha.3](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2021-08-23)
232
+
233
+
234
+ ### Features
235
+
236
+ * render PrismicLink using a document ([0768280](https://github.com/prismicio/prismic-reactjs/commit/0768280e049d120cb93ebac581bc4e629ff98c67))
237
+
238
+
239
+ ### Bug Fixes
240
+
241
+ * wording on TODOSliceComponent warning ([8abfc9a](https://github.com/prismicio/prismic-reactjs/commit/8abfc9acc5fd5ca6a5c65fdc28092d4cc5dd376b))
242
+
243
+
244
+ ### Documentation
245
+
246
+ * add tsdocs for hooks ([0b1a610](https://github.com/prismicio/prismic-reactjs/commit/0b1a610197e23c2462f62443497c7044d7f49ccf))
247
+
248
+ ## [2.0.0-alpha.2](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2021-08-03)
249
+
250
+
251
+ ### Features
252
+
253
+ * support document type on client hooks ([0a0427b](https://github.com/prismicio/prismic-reactjs/commit/0a0427b344087d898f0f5e56b1c125a194fa6595))
254
+
255
+
256
+ ### Bug Fixes
257
+
258
+ * rename PrismicHookState to PrismicClientHookState ([8047f8b](https://github.com/prismicio/prismic-reactjs/commit/8047f8b752a9852d516ddd7a89a74c53cc99e83e))
259
+
260
+
261
+ ### Chore
262
+
263
+ * add react as a dev dependency for tests ([9bac238](https://github.com/prismicio/prismic-reactjs/commit/9bac238a9cd8ad77b384e9683d5824862a05d4d4))
264
+
265
+
266
+ ### Refactor
267
+
268
+ * increase test coverage by restructuring ([84c5cde](https://github.com/prismicio/prismic-reactjs/commit/84c5cde319afec2e7afbcc876d43b85b00039b98))
269
+
270
+ ## [2.0.0-alpha.1](https://github.com/prismicio/prismic-reactjs/compare/v2.0.0-alpha.0...v2.0.0-alpha.1) (2021-08-02)
271
+
272
+
273
+ ### Bug Fixes
274
+
275
+ * move react to a peer dependency ([17d9f08](https://github.com/prismicio/prismic-reactjs/commit/17d9f08f507b612699449cb87de6d6273494f213))
276
+
277
+
278
+ ### Chore
279
+
280
+ * remove private label ([8bafde4](https://github.com/prismicio/prismic-reactjs/commit/8bafde44aee43f66fd652e8fcf2151f245a80918))
281
+
282
+ ## [2.0.0-alpha.0](https://github.com/prismicio/prismic-reactjs/compare/v1.3.4...v2.0.0-alpha.0) (2021-08-02)
283
+
284
+
285
+ ### Features
286
+
287
+ * add SliceZone component ([1e13c98](https://github.com/prismicio/prismic-reactjs/commit/1e13c98b4338bf291dca585eae3e79a1e16675a3))
288
+ * complete implementation ([530be7d](https://github.com/prismicio/prismic-reactjs/commit/530be7da1f63cc918d9683aa1895a691bc166b72))
289
+ * export PrismicHookState ([8058fe1](https://github.com/prismicio/prismic-reactjs/commit/8058fe19c2279828b3a7c72644b0f3a36397cbc8))
290
+ * export updated types ([4eb4973](https://github.com/prismicio/prismic-reactjs/commit/4eb4973d92031330e6a4416f4fcfaccaeb011174))
291
+ * initial v2 commit ([c666519](https://github.com/prismicio/prismic-reactjs/commit/c6665194435134f65493343d95ef6bef94c65691))
292
+ * refine SliceZone types and TODOSliceComponent ([0728187](https://github.com/prismicio/prismic-reactjs/commit/0728187b8b68e29ca25c7fff03faa576c9d4c98d))
293
+
294
+
295
+ ### Bug Fixes
296
+
297
+ * accept provider children ([629180d](https://github.com/prismicio/prismic-reactjs/commit/629180dec8dd016ffd858eb9da38addf6a611f20))
298
+ * allow href, target overrides in PrismicLink ([b0037f5](https://github.com/prismicio/prismic-reactjs/commit/b0037f5568695ec4688f43f8246d936b77a03606))
299
+ * better internal url detection ([10d5dc3](https://github.com/prismicio/prismic-reactjs/commit/10d5dc3bf4482fcaadf3241572f66d32eb44f8bd))
300
+ * more specific SliceZone types ([a4d5a2d](https://github.com/prismicio/prismic-reactjs/commit/a4d5a2d2e5f10a90fd5942f19b94030501772ab5))
301
+ * safely polyfill process.env ([75d70c7](https://github.com/prismicio/prismic-reactjs/commit/75d70c7f22574d94ea7469e3a491c61b4595ea60))
302
+ * stricter href/field prop types for PrismicLink ([5dec44a](https://github.com/prismicio/prismic-reactjs/commit/5dec44a6ff07def7e67471bcea6ae80b3fe9732f))
303
+ * use more correct internalLinkComponent/externalLinkComponent type ([281e27c](https://github.com/prismicio/prismic-reactjs/commit/281e27cf59ecd6a9bed3dfc8d7f48184253ad069))
304
+ * use production over development for optimization checks ([b466791](https://github.com/prismicio/prismic-reactjs/commit/b46679179a27567f902f3bba78a4189c955dd141))
305
+
306
+
307
+ ### Documentation
308
+
309
+ * add documentation to all exports ([ba15a01](https://github.com/prismicio/prismic-reactjs/commit/ba15a01421d7cfdc64b459601055c8e1d1f94bf6))
310
+ * add examples ([4984832](https://github.com/prismicio/prismic-reactjs/commit/4984832d333ca5bcdb883cc020ea1cb675bcea5e))
311
+ * fix typo ([32c20bc](https://github.com/prismicio/prismic-reactjs/commit/32c20bce4067ed2d9bd2221f0605dbf642715dc3))
312
+ * link to React ([3a083ca](https://github.com/prismicio/prismic-reactjs/commit/3a083ca4432a18e1a8aaecceb7ce9329c0bee09a))
313
+ * rename with-provider example to with-global-configuration ([7fc834f](https://github.com/prismicio/prismic-reactjs/commit/7fc834f3f8a5c0904fe2d32004453c80aee89e14))
314
+ * update README ([41539a8](https://github.com/prismicio/prismic-reactjs/commit/41539a8e4d62091570e2ddfe025af0f1fbee4201))
315
+
316
+
317
+ ### Refactor
318
+
319
+ * move hook reducer into hook factory file ([b06e831](https://github.com/prismicio/prismic-reactjs/commit/b06e831c8ac252d21632d513e0368b835ac51768))
320
+ * organize types and hooks ([5add30b](https://github.com/prismicio/prismic-reactjs/commit/5add30bdff8a0c8bf8173693317d716954760f8c))
321
+ * use map for default PrismicRichText serializer ([0ba98f0](https://github.com/prismicio/prismic-reactjs/commit/0ba98f061b5437bbe0b04a2a6c8361b2a37287c5))
package/dist/index.cjs CHANGED
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const React = require('react');
6
6
  const prismicH = require('@prismicio/helpers');
7
7
  const prismicR = require('@prismicio/richtext');
8
+ const tinyCase = require('tiny-case');
8
9
 
9
10
  function _interopNamespace(e) {
10
11
  if (e && e.__esModule) return e;
@@ -290,7 +291,7 @@ const SliceZone = ({
290
291
  if (resolver) {
291
292
  const resolvedComp = resolver({
292
293
  slice,
293
- sliceName: slice.slice_type,
294
+ sliceName: tinyCase.pascalCase(slice.slice_type),
294
295
  i: index
295
296
  });
296
297
  if (resolvedComp) {
@@ -306,7 +307,7 @@ const SliceZone = ({
306
307
  context
307
308
  });
308
309
  });
309
- }, [components, context, defaultComponent, slices]);
310
+ }, [components, context, defaultComponent, slices, resolver]);
310
311
  return /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, renderedSlices);
311
312
  };
312
313