Turbo Frames vs. Turbo Streams

Turbo Frames vs. Turbo Streams

Mix & Go

2 года назад

17,470 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Dave Nguyen
Dave Nguyen - 18.09.2023 16:09

Great video ... helped me a lot conceptually!

Ответить
阿楓
阿楓 - 11.08.2023 09:26

謝謝你的影片幫助了我很多,thank you

Ответить
Kevkev
Kevkev - 24.07.2023 12:52

Would really enjoy a slightly more comprehensive update. After using turbo frame with stimulus controllers we ran into several issues because the stimulus controllers aren't aware of the page changes. This means for example that stimulus controllers need to be nested within the frames to work properly

Ответить
Russell Smith
Russell Smith - 01.07.2023 00:38

Amazing! So useful, keep up great content 😊

Ответить
SidAli Dev
SidAli Dev - 26.03.2023 07:35

This made a lot more sense, thank you very much!

Ответить
Marcelo Moraes
Marcelo Moraes - 22.11.2022 03:08

Great explanation about turbo frames and turbo streams, one of the best explanations. Thanks to share this content.

Ответить
Julio José Linárez Escobar
Julio José Linárez Escobar - 30.10.2022 07:33

Awesome video!

Ответить
Talha Khan
Talha Khan - 07.10.2022 00:45

Cezar,

Whenever I run 'Turbo::StreamsChannel.broadcast_update_to("teststr", target: "content", html: "foo")

It gives me:
[ActionCable] Broadcasting to tester: "<turbo-stream action=\"update\" target=\"broadcast\"><template>foo</template></turbo-stream>"
=> nil

Ответить
haroldpepete
haroldpepete - 30.09.2022 20:55

that is such a helpful video, i did have so clear with why frames or streams, but i have it clear right now thanks to you

Ответить
midday
midday - 29.09.2022 16:10

Thanks!

Ответить
Dima Dolgashov
Dima Dolgashov - 17.09.2022 21:32

Can someone discover Reflexes ? One short video pls )))

Ответить
Developer Bishwas
Developer Bishwas - 27.08.2022 21:38

That's a great piece of article, you're awesome. A simple chat app tutorial with devise and broadcasting, with the ability to edit/delete will be a great help. Specially, what I'll be achieving from that tutorial is, a way to access `current_user` within back-end and pass the context/tubro_streams accordingly, [basically not with client-side JS but with backend]

Ответить
Rick Smoke
Rick Smoke - 25.07.2022 22:01

A very good "wrap your brain around it" explanation. Thanks!
PS. Can you use an external websocket and turbo-streams to get data into the application also ?

Ответить
Fabi an
Fabi an - 22.07.2022 09:35

I think I am cheating. I just wrapped turbo stream tags into my turbo frame response. The turbo frame loads flawlessly, detects the the turbo stream tags which themselves update other pages of the page. Nesting is the way to go. No need to op-in into action-cable🙃 Or you can nest turbo frame tags which results in more requests but also updates in multiple sections.

Ответить
Brad Garland
Brad Garland - 22.07.2022 09:14

Thanks, concise and exactly what I needed as I was also a bit confused about which I should be using.

Ответить
Till Carlos
Till Carlos - 22.07.2022 06:49

You look very familiar. Are you famous in some other channel? Maybe it was tiktok... ;)

Ответить
Rafael de Paula Barbosa
Rafael de Paula Barbosa - 22.07.2022 04:23

Great as usual. Thank you!

Ответить
Oscar Olivera
Oscar Olivera - 21.07.2022 20:52

Reading Ruby Weekly's and find this! Awesome.

Ответить
Александр Рубан
Александр Рубан - 21.07.2022 16:58

Great! Thanks

Ответить
Karthikeyan A K
Karthikeyan A K - 21.07.2022 14:37

For some reason the Ruby on Rails official documentation is not as good as other web frameworks. Plus books for RoR's are not up to date.

Ответить