This site reminds me of RockAuto. I've used RockAuto for years and it's great. Probably developed by the same people.
@blipblop9222 сағат бұрын
Homedepot need to hire these devs.
@fabianosorianiКүн бұрын
Very interesting talk. But it did inform me very little.
@tlgr3gКүн бұрын
Looks like it didn't go stage-3 just yet, but hopefully on the next meeting it will.
@mav29Күн бұрын
?
@emre-erdogan2 күн бұрын
This is Prev.js!
@eyyeXug2 күн бұрын
How's the security though. Had someone pentested this site already and are there even info worth compromising? xD
@tennicktenstyl2 күн бұрын
The day McMaster Carr downgrades to modern UI with double padding on every single element will mark the definite end of the old sensible internet
@ferdous_khalifa3 күн бұрын
Impressive 💖
@jeffrbake4 күн бұрын
This is huge... Selects have been really annoying to deal with
@AbdurRehman-32494 күн бұрын
Simply elegant!!! How mature a site should be to attain that level of optimization..
@El.Snotrocket5 күн бұрын
talk slower buddy
@AdrianoCahete5 күн бұрын
And they are using two subdomains for image resources (images1. and images2.), since browsers have a limit in parallel connections per domain (Chrome is 6, AFAIK). With two domains (two subdomains, I know, but for browsers, they are two different domains), they can load 12 image resources at the same time. Probably using this trick for other resources too.
@AdrianoCahete5 күн бұрын
And, when they are preloading resources, they are telling the browser what is that resource (with the 'as', like 'as image'), so the browser don't need to parse and discover by itself (and defining the 'Accept' request header in the process). They can still use the prefetching priority to make (more) faster than actually is.
@danangsatriani34915 күн бұрын
As a software developer for 7 years, im scared of this
@alexwilkinsgames5 күн бұрын
I wish I had this video 3 years ago! Thank you king Wes!
@WesBos4 күн бұрын
Glad it was helpful!
@joshuakennedy90645 күн бұрын
The Keyframers perfected this technique. David Kpiano and Shaw are freaking CSS pioneers.
@dalefrontend69255 күн бұрын
Critical CSS are we talking about the library? Sure I seen something about it not being great anymore, possibly Harry Robert’s mentioned it this year. I might be way off though.
@WesBos5 күн бұрын
not necessarily a library - though there is one called that - but many modern frameworks are able to detect what CSS is needed
@timothy-99955 күн бұрын
McMaster Carr is one of my favorite websites. It’s super easy to find the exact fastener you need, and it has CAD files for every part.
@RRI4575 күн бұрын
PLEASE ACCEPT OUR COOKIE TO WATCH THIS VIDEO
@draco47176 күн бұрын
After looking at the website speed, I ordered some sockets from them, they deliver fast ⏩
@dr.bintangwibawaputra10126 күн бұрын
Clear explanation. thanks man
@WesBos5 күн бұрын
Glad it was helpful!
@adorp7 күн бұрын
You need near zero skill to make an website fast on modern infrastructure. You do however need a lot of brainrot to make it slow. That happens to be the case with most web developers. They will learn 10 different frameworks to avoid learning basic Javascript stuff like XMLHttpRequest. Their argument goes, "it is framework, so keeping it compatible with browsers is not my responsibility." I kinda see the point. I have done some moderately advanced canvas stuff, and it is very tedious to figure out why a click event goes through three divs on Firefox but only one on Blink. I might be an amateur, but even OnlyOffice devs who use their custom canvas renderer can't sometimes figure this stuff out. For example, mouseclicks on OnlyOffice UI behave drastically differently between Windows and Linux. However, using a framework rarely fixes these issues.
@ozgurg07 күн бұрын
When you really know how the web works, speed is inevitable. They know.
@heyLucifurr7 күн бұрын
guys stop visiting the website.. its no longer wicked fast because the server can no longer handles 1.2 millions of you! LOL
@WesBos5 күн бұрын
we broke it
@heyLucifurr7 күн бұрын
SEO specialist is going crazy figuring out where those 1.2 million visitor that are not purchasing nuts and bolts. LOL
@bobh46867 күн бұрын
I've been using this technique on hero components with background media. It makes sure the component's size is determined by the biggest child, something which required a lot of attention when using position absolute. You don't even need grid-template-areas on the parent, just grid-area on the children is enough. If you're using Tailwind just put something like [grid-area:stacked] on the children and you're done.
@TheFaheemiQuasar7 күн бұрын
reallly good , but firefox and safari does not supports it , it would be better to use a div or p tag and add contenteditable property to them
@alloiosis8 күн бұрын
TOP has brought me here. If you're here because of that too, keep working!
@PK-xu7gu8 күн бұрын
All the youngsters finding out how we made websites in aspx back in the day LOL. Now it's all JS and npm this and that
@husreihn10708 күн бұрын
Wes Bos makes it look so easy and destructs the problem step by step. it makes you like ah why did i not think about that..
@WesBos8 күн бұрын
Glad you enjoyed!
@soufianebachkata19878 күн бұрын
Since i learn CSS i have never use absolute position, i have use grid and margin
@WesBos8 күн бұрын
Still some use cases for it, but agreed - the better you know CSS, the less you reach for it!
@soufianebachkata19878 күн бұрын
@WesBos btw im french and i just saw your chanel, and i follow your content is good. You explain things well. Great job
@SakuraDev8 күн бұрын
Nice tip 👍
@Phoenix-e3h8 күн бұрын
This is not new in Rails. Turbo ftw.
@poolkrooni9 күн бұрын
Is there some easy way to turn this into a typeahead (so user could type something and I could load the options async) or would that be the job for a text input and the new CSS anchoring?
@WesBos8 күн бұрын
From talking to the spec authors, the type + filtering use case you are describing will come in a future "Combobox" Spec. You could pretty easily add a bit of JS onto this primitive and get one though!
@fregattkapitany26089 күн бұрын
Not the names but the ID-s are unique, of course! And I have a much neater solution.: arr1.forEach( ( aRecord, index) => { aRecord.length = 3; let idValue = aRecord[1]; let arr2_row = arr2.find( ( aRow, index ) => aRow[ 1 ] === idValue) || ["", "", ""]; let arr3_row = arr3.find( ( aRow, index ) => aRow[ 1 ] === idValue) || ["", "", ""]; aRecord = aRecord.concat( arr2_row.slice( 2 ) ); aRecord = aRecord.concat( arr3_row.slice( 2 )); arr1[index] = aRecord; }); console.log(arr1);
@omomer35069 күн бұрын
Saving this video as well for the code, as well for reference to the cursor
@heathenmonk12499 күн бұрын
Amazing, just had this issue the other day at work. Thanks!
@User948Z7Z-w7n9 күн бұрын
Oh this was a problem I couldn't solve. Thanks
@chess49649 күн бұрын
any idea if this is doable using tailwind?
@WesBos8 күн бұрын
Yep of course - Tailwind is just CSS
@tonymihut30709 күн бұрын
This is a pleasant surprise. I fully expected net positive stable nuclear fusion before a customizable select.
@أميرالمؤمنينبنمحمدأكرم9 күн бұрын
How can i do this with tailwind
@ShaikhShariq10 күн бұрын
Glad to see jQuery based old fashioned site following all chrome lighthouse suggestions to give tremendous load time.
@SonOfMiguel10 күн бұрын
What monospace font is this? 4:00
@snflwrbrain572310 күн бұрын
This guy definitely used chat gpt to explain the source code and used it in this video. Everyone can be an expert good job
@GarrethandPipa10 күн бұрын
Browser Caching: stores copies of website files, such as HTML pages, CSS stylesheets, images, and other multimedia content, on the user’s computer. This type of caching is controlled by the browser and helps reduce the number of requests made to the server, resulting in faster page load times for repeat visitors. Server Caching: stores copies of frequently requested resources, such as database queries, HTML documents, and images, on the server. This type of caching is administered by the website owner and helps reduce the server load, improving the performance and scalability of the website. Server caching can be further divided into sub-types, including object caching, opcode caching, and Content Delivery Network (CDN) caching. if I had to make a guess they are also in lining all the images since they are not popping in one after another. When we first started making web pages with images the general rule 60kb html and 120kb of images. Then we had js loaders that used low rez images that were replaced with its high rez variants once loaded. Then we had flash and we would stream much of a website as a additional hand rolled cache. Simple fact no one cares anymore. But there so many ways to make web pages fast.
@joinride_cc10 күн бұрын
Finally! Hope that it also quickly finds its way to Tailwind.
@BobbyBundlez10 күн бұрын
lol. I get for novelty sake it's cool to see this.. but this is so fuckin overkill and ridiculous. the site looks like shit. u cud get away with a raw html cite and a bit of css and the site would prob be as fast lolol. Request to the server on HOVER is crazy lol
@JediMB10 күн бұрын
Really glad I got this video recommended by YT. I'd just used another video tutorial to implement flip cards and had to come up with a mathy workaround when I realized they couldn't be dynamically sized by their contents. With significantly less fiddling, your grid stack tip fixed the issue!
@WesBos10 күн бұрын
Awesome! Card sizing is something I often find myself using this trick for
@zulmarkzul10 күн бұрын
It doesn't work for me. When I visited the website, the network sending pre-request is not shown anymore on cursor hovering and when ever I clicked any items, it gave me green loading icon before it goes to the page.
@clevermissfox11 күн бұрын
Is this what the spec for selectlist turned into ?