Commit 4577fe3
committed
feature #2302 [Turbo] Add generic
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
[Turbo] Add generic `<Turbo:Stream>` component
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| Issues | #2298 (comment)
| License | MIT
I added a generic Turbo Stream component. To use it, you can do this:
```twig
<twig:Turbo:Stream action="turbo_frame_reload" targets="#count-post" />
```
The rendering is:
```twig
<turbo-stream action="turbo_frame_reload" targets="#count-post"></turbo-stream>
```
Commits
-------
f0ab499 [Turbo] Add generic `<Turbo:Stream>` component<Turbo:Stream> component (seb-jean)2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments