Commit fe22829
committed
Update specs to expect :defer as default loading strategy
Updates configuration_spec.rb to reflect the new default behavior where
generated_component_packs_loading_strategy defaults to :defer instead of
:async (Shakapacker >= 8.2.0) or :sync (Shakapacker < 8.2.0).
This change aligns with the race condition fix that makes :defer the
universal default to ensure component registrations complete before
React hydration.1 parent 5abe219 commit fe22829
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | | - | |
338 | | - | |
| 337 | + | |
339 | 338 | | |
340 | 339 | | |
341 | 340 | | |
| |||
0 commit comments