Commit 5c1fb74
committed
Add detailed explanation of React on Rails 16 breaking change
Clarifies that this configuration is a workaround for a regression introduced
in React on Rails v16 where the error handling fallback mechanism was removed.
In v14.2.1, when server bundle lookup failed, it would gracefully fallback to
the Shakapacker output path. This robust error handling was removed in v16.0.1.rc.2
causing the test environment to look in the wrong directory.
The configuration explicitly tells React on Rails where to find bundles in
test environment since the automatic fallback no longer exists.1 parent ff96f20 commit 5c1fb74
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
0 commit comments