Тёмный

How is the `:page_title` assign updated?  

German Velasco
Подписаться 1,5 тыс.
Просмотров 507
50% 1

You probably know that the `:page_title` assign is special in Phoenix -- it is the only dynamic assign in a layout. And I wondered, how does it work? How do they make it special? So, I did a bit of code spelunking.
For more videos like this, check out Elixir Streams - www.elixirstreams.com

Наука

Опубликовано:

 

15 ноя 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@bryjbry
@bryjbry 7 месяцев назад
Nice, thanks for going over that. LiveView has a little bit more magic than dead views, so it's nice to get that stuffy clarified.
@germanvelasco
@germanvelasco 7 месяцев назад
Happy to do it!
@SethMesser
@SethMesser 7 месяцев назад
brilliant; thanks for walking us through that, German!
@germanvelasco
@germanvelasco 7 месяцев назад
Happy to do it, and glad others liked it! I wasn't sure if people would enjoy code spelunking.
Далее
🎤Пою РЕТРО Песни ✧˖°
3:04:48
Просмотров 1,7 млн
Extending Phoenix LiveView with Hooks
19:11
React Query Makes Writing React Code 200% Better
13:54
Просмотров 178 тыс.
WTF is "Zone.js" and is it making your app slow?
13:21
C++ Weekly - Ep 434 - GCC's Amazing NEW (2024) -Wnrvo
10:19
How Web Sockets work | Deep Dive
10:22
Просмотров 6 тыс.
Will the battery emit smoke if it rotates rapidly?
0:11