Commit 920ed7c
committed
Refactor immediate hydration data attribute handling in Pro features
- Updated the `helper.rb` file to modify how the `data-immediate-hydration` attribute is added to script tags, ensuring it is correctly applied during immediate hydration.
- Adjusted the test helper spec to correct the formatting of the immediate hydration script, enhancing clarity and functionality.1 parent 297fa02 commit 920ed7c
File tree
2 files changed
+3
-5
lines changed- lib/react_on_rails/pro_features
- spec/dummy/spec/helpers
2 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | | - | |
373 | | - | |
| 371 | + | |
374 | 372 | | |
375 | 373 | | |
376 | 374 | | |
| |||
0 commit comments