Improving Your Page Load Speeds on Any Site with Turbolinks

  Рет қаралды 8,051

Nick Janetakis

Nick Janetakis

Күн бұрын

Пікірлер: 16
@NickJanetakis
@NickJanetakis 4 жыл бұрын
Just as a friendly reminder, the time stamps are in the description.
@jubiee2
@jubiee2 3 жыл бұрын
thanks! very clear introduce turbo link to me! thanks again!!
@alpakat292
@alpakat292 4 жыл бұрын
Thanks! Looks very intresting...
@devtest7659
@devtest7659 2 жыл бұрын
im using turbolinks and during page transition or initial load of the page, the broken layout of the css is displayed before it is properly rendered. is there a way to load the css first before displaying the page on the browser so user won't be able to see the broken layout of the page during page transitions/loading?
@NickJanetakis
@NickJanetakis 2 жыл бұрын
Are you using Turbo or Turbolinks?
@banest0
@banest0 3 жыл бұрын
Thanks you for the video! I have a question, though - On RoR app how would you suggest adding page-specific javascript that won't require full reload? For example, if I have one basic js file which is required on each page and lots of different js files on different pages. All those js files would have data-turbolinks-track="reload". It appears to trigger full reload by navigating from page to page, which makes Turbolinks useless at this point.
@NickJanetakis
@NickJanetakis 3 жыл бұрын
Hi, you might want to look into the new Hotwire Turbo functionality that the Rails team released at hotwire.dev/.
@banest0
@banest0 3 жыл бұрын
@@NickJanetakis Oh wow this looks like will require complete overhaul of the app :)
@Rm-ey8xe
@Rm-ey8xe 4 жыл бұрын
Thanks for the video sir, just wanna ask how about before form submission? when I tried to navigate a page with a form, the js doesn't seem to work so well but when I reload the page everything is back to normal, sorry if it's not detailed but i am using laravel livewire.
@NickJanetakis
@NickJanetakis 4 жыл бұрын
To my limited understanding live wire and turbolinks aren't compatible at the moment. That would be a question better asked for Caleb. I remember reading something about those tools not playing nicely with each other. I don't use laravel personally.
@AirWick219
@AirWick219 4 жыл бұрын
I wondered y ppl seems to lean toward not using turbolink but rather just use React?
@NickJanetakis
@NickJanetakis 4 жыл бұрын
Turbolinks 5 focused mainly on full page transitions of swapping the body. But the next version of Turbolinks will supposedly allow you to have more control over partial changes. Without seeing how it works it's hard to say if it'll be a viable React alternative, but the team who created Turbolinks have built a very nice cross device email client with it, so it might be.
@AirWick219
@AirWick219 4 жыл бұрын
@@NickJanetakis forcing page reload seems pretty heavy vs React where those state can just handle in the client side. But I am guessing thats a design choice. I think it would be cool if you can make a video that talks about HEY stack that DHH posted and why you think those are used.
@NickJanetakis
@NickJanetakis 4 жыл бұрын
@@AirWick219 It's not that heavy in practice. In the video there's a few examples of sites that use it, you can check those out. I'll make another video on Turbolinks 6 when it ships. Right now all we can go by is the JS code you see in the page source of Hey.
What is Hotwire?
6:55
The Pragmatic Studio
Рет қаралды 12 М.
Improving Load Performance - Chrome DevTools 101
13:29
Chrome for Developers
Рет қаралды 326 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Why Your Web Server Should Log to Stdout (Especially with Docker)
11:31
Trump announced the end date of the war / Emergency plane landing
14:05
How To Load Images Like A Pro
15:48
Web Dev Simplified
Рет қаралды 390 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
16  Laravel Livewire   SPA using Turbolinks
10:52
Bitfumes
Рет қаралды 25 М.
How to Upgrade from Turbolinks to Hotwire & Turbo
11:22
GoRails
Рет қаралды 9 М.
The Complete Guide to Ruby on Rails Encrypted Credentials
17:22
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,2 МЛН
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,2 МЛН