No video

The latest in Web UI (Google I/O ‘24)

  Рет қаралды 175,474

Chrome for Developers

Chrome for Developers

Күн бұрын

Get a rundown of all the things developers should know that landed in the browser for UI development since the last I/O, plus what's on the product roadmap.
Speaker: Una Kravets
Watch more:
Check out all the Web videos at Google I/O 2024 → goo.gle/io24-w...
Subscribe to Google Chrome Developers → goo.gle/Chrome...
#GoogleIO
Event: Google I/O 2024

Пікірлер: 173
@ChromeDevs
@ChromeDevs 3 ай бұрын
Check out all the web sessions at Google I/O → goo.gle/io24-web-yt
@linuxgeex
@linuxgeex 3 ай бұрын
@media {prefers-* remains distractingly notional unril such time that Chrome provides Users a way to convey their User Preference to the User Agent. ie with Config Options. Everyone please add your voices on this subject to all Chrome for Developers posts until action occurs, and upvote each other's comments until Chrome Devs take action. Not only is this preventing realisation of benefits by Users, but it blocks Developers from even testing it.
@aberba
@aberba 3 ай бұрын
Where can I find the sample code for the talk?
@Rick_Sanchez_Jr.
@Rick_Sanchez_Jr. 3 ай бұрын
Are your Chrome UI devs smoking crack or what's the deal? Because all of the changes are awful and not only are they awful but you also made it so that we can't revert the changes
@no1_of_note
@no1_of_note 3 ай бұрын
Over then next couple of years, this new popover API is going to save centuries worth of accumulated developer time.
@TheBswan
@TheBswan 3 ай бұрын
Are y'all not using component libraries? Or stack overflow? I've literally never struggled with a popover
@zenlanfleek6580
@zenlanfleek6580 3 ай бұрын
Radix UI all the way baby ​@@TheBswan
@JoeyXie
@JoeyXie 3 ай бұрын
@@TheBswan UI libraries can help you build popovers, but you should know what's inside it. To implement a simple modal popup, you need to handle the visibility, z-index, position, keyboard events, mouse events, it's very hard to do it right in plain javascript. Using a react component to implement a popup is easy, but the library did the hard things for you. I don't write react, I use blazor wasm and tailwindcss to build front end website, so the popover api is a life saver for me.
@TheNewton
@TheNewton 3 ай бұрын
​@@TheBswan "I've literally never struggled with a popover" and yet: " using component libraries? Or stack overflow?" This is not about "struggle" you burnt time on this you shouldn't have too.
@a11aaa11a
@a11aaa11a 3 ай бұрын
​@@JoeyXieI've written all of these from scratch but it's just so just more efficient these days to use a component library where this is all already handled by teams who have spent hundreds of hours collectively on popovers. Unless you have extremely specific requirements or you're doing it to learn/for fun, it seems a bit unwise not to use premade components. I'm excited for the popover API, but not because it's going to save me time directly, but rather that of the component library devs who then have more time to spend on other things.
@--Arthur
@--Arthur 3 ай бұрын
People in 1960s: "We'll have flying cars in 60 years!" 2024: We solved centering a div and I'm all for it
@LarsRyeJeppesen
@LarsRyeJeppesen 3 ай бұрын
Huh; css grid solved this years ago
@zenlanfleek6580
@zenlanfleek6580 3 ай бұрын
​@LarsRyeJeppesen CSS Flex, auto margins, and absolute position fixed it long time ago. Centering a div became an outdated joke.
@poschinski
@poschinski 3 ай бұрын
@@zenlanfleek6580 but people are still googleing it
@lukor-tech
@lukor-tech 3 ай бұрын
I don't know what the heck happened to the quality in some of the shots but great talk nontheless, as always it's a blast to see what new stuff comes to the Web and UI developement.
@francescos7001
@francescos7001 3 ай бұрын
I'm constantly using text-wrap: balance; and text-wrap: pretty; as a little progressive enhancement.The same goes for the dialog element with .showModal() and .close() and other features. Happy to see so many improvements that really simplify my work as a web developer
@roei7111999
@roei7111999 3 ай бұрын
FINALLY!!!! WE CAN CENTER A DIV!!!!! And aninating gradients, thank you so much!!
@jefftee7354
@jefftee7354 3 ай бұрын
View transitions across pages is a huge deal - very exciting!
@neutralitat2570
@neutralitat2570 3 ай бұрын
And SPA finally will be completely obsolete 🎉
@invinciblemode
@invinciblemode 3 ай бұрын
@@neutralitat2570SPAs will probably use it too
@trashAndNoStar
@trashAndNoStar 3 ай бұрын
It's Chromium only for now, unfortunately. Still have to add fallback for unsupported browsers if needed.
@mma93067
@mma93067 3 ай бұрын
@@trashAndNoStar some sort of polyfill based on origin vs an entire framework is a no-brainer.
@zenlanfleek6580
@zenlanfleek6580 3 ай бұрын
Safari will add it after 9 years.
@andreastaranetz
@andreastaranetz 3 ай бұрын
Super usefull features. Can't wait for them to become available in all browsers.
@mayureshdaphane
@mayureshdaphane 2 ай бұрын
This is truly an amazing set of features and a fantastic user experience that I haven't encountered before! I'm thrilled to explore and utilize them in my projects. A big thanks to the dedicated team for all their hard work and for continuously enhancing the web, making developers' lives easier. We're in the golden era of the web!
@dmanzer16
@dmanzer16 3 ай бұрын
The start of making web experiences cool again. I can't wait to implement some of these new css features.
@aberba
@aberba 3 ай бұрын
Styling , Popover API and dialog are huge ones. I hope too date, time and calendar inputs get some customisations too.
@proletar-ian
@proletar-ian 3 ай бұрын
This is fantastic! The rest of Google I/O felt particularly boring this year
@kjvisual7
@kjvisual7 3 ай бұрын
Field Sizing Content for the WIN! OMG my biggest annoyance is that tiny window we all have to type in. Hahaha as I'm typing this I'm noticing that my KZfaq text field is sizing up to at least include 4 lines of text. But I want the option to see everything I wrote, all at once. Anyway I hope a lot of people enjoy a resized, typed form window so it can continue to improve.
@nekomew
@nekomew 3 ай бұрын
I can see so much savings in lines of code for my projects once the popover and css scroll are fully implemented in all browsers. Hope they will be baseline soon.
@Gbtx6
@Gbtx6 3 ай бұрын
This was a wonderful presentation full of excitement and great new features finally being available in baseline. You nailed it all Una, ty so much ❤ More Una presentations pls!
@wentallout
@wentallout 3 ай бұрын
I would love to watch this in a blog/written format.
@UnaKravets
@UnaKravets 3 ай бұрын
Working on it!
@thengakola6217
@thengakola6217 3 ай бұрын
@@UnaKravets Pinging for getting my notification once finished
@PraveenJoshua23
@PraveenJoshua23 3 ай бұрын
So glad to get the Popover API! 😁
@hw7channel571
@hw7channel571 3 ай бұрын
Great presentation of the improvement of the Web UI
@roshevideo
@roshevideo 3 ай бұрын
30:15 Greetings from Lviv ❤
@funky_hedgehog
@funky_hedgehog 3 ай бұрын
It's amazing! We've been waiting for years!
@keithpurtell1213
@keithpurtell1213 3 ай бұрын
A lot of exciting material here, especially (for me) in view transition, and some of the scroll-driven animations.
@zerdox4
@zerdox4 3 ай бұрын
timecodes would be so great
@abdulsohailit
@abdulsohailit 3 ай бұрын
Fantastic demonstration and insightful technical discussion! I really appreciated the depth and clarity. how can be the part of live session anyone can guide me
@Sockertuppen
@Sockertuppen 3 ай бұрын
Many great examples. Do you share code examples of these anywhere?
@development5625
@development5625 3 ай бұрын
When all these functionalities become available in Firefox, it will be worth it. 🔥🦊
@artecke99999
@artecke99999 3 ай бұрын
Mind-blowing! 😊 I love it! 😍
@dogoku
@dogoku 3 ай бұрын
Yuna knocked it out of the park!
@DarrenbyDesign
@DarrenbyDesign 2 ай бұрын
THIS IS AMAZING!! I'm so ready to try all of this
@QuintessentialDio
@QuintessentialDio 3 ай бұрын
It's truly a golden era for web ui🔥
@anoosurf
@anoosurf 3 ай бұрын
So many advancements .. so many years … wow … but why we still missing a basic combo box select feature with autocomplete ?
@tomino133
@tomino133 3 ай бұрын
Great talk. Una is an absolute legend.
@orc_song
@orc_song 3 ай бұрын
Helpfull....gonna use in my future project
@Miguel_Castaneda
@Miguel_Castaneda 3 ай бұрын
Great video, CSS is the best!
@tithos
@tithos 3 ай бұрын
All of my IDE's, React and Sveltekit are calling the `select->button->datalist` combo invalid HTML. How do we use it?
@lmnk
@lmnk 3 ай бұрын
Damn, never been so excited about new features... this is amazing, great job! Can't want for them to go baseline
@someonelastname8175
@someonelastname8175 3 ай бұрын
Looks fantastic. Just need Tailwind to wrap it up and we'll use it in prod.
@aberba
@aberba 3 ай бұрын
Sooner or later, not knowing vanilla CSS is going to be a problem.
@KeshavAneja
@KeshavAneja 3 ай бұрын
I was done at centering divs :D
@riacharda
@riacharda 3 ай бұрын
I can't wait for Kevin Powell's take on this! 🙂
@rezzvy
@rezzvy 3 ай бұрын
Since there's a certain way to achieve something without involving any scripting or CSS hacks, does it mean the previous approach will be deprecated?
@Daniel_WR_Hart
@Daniel_WR_Hart Ай бұрын
Not if you want to support older browsers
@TheNewton
@TheNewton 3 ай бұрын
34:58 exclusive accordion - we still need style control over the detail elements summary marker. Though it's funny the anchoring for the popover api 19:38 or vertical centering of align-content-for-block-layout 38:07 might mean new hacks in trying to get a fake marker to layout on the rightside AND vertically center as the summary height changes such as due to text wrapping.
@JakobEriksen
@JakobEriksen 3 ай бұрын
summary::marker { display: none; } summary::before { ... custom marker closed styling ... } [open] > summary::before { ... custom marker open styling ... } (display: flex on summary will collapse the marker)
@crownstupid
@crownstupid 3 ай бұрын
would be nice to have a link to a repo with all the examples
@handlewastaken
@handlewastaken 3 ай бұрын
cross-page css transitions oh my god my heart is melting
@mrx.2233
@mrx.2233 3 ай бұрын
A will done presentation thank you!!!
@jfftck
@jfftck 3 ай бұрын
What about old properties that improve page readability for everyone, like those with dyslexia? One property that is only supported in Firefox is text-justify that allows adjusting spacing between the letters and words to look more balanced, because the default text-align: justify has always looked terrible and nothing like the justification that newspapers use.
@mma93067
@mma93067 3 ай бұрын
Cross-document view transitions could completely revolutionise and revive old school full stack frameworks like django and laravel
@repotranstech9614
@repotranstech9614 3 ай бұрын
Htmx already fixing it currently.
@obrien8228
@obrien8228 2 ай бұрын
Notes: View Transitions example @12:40 Popover @ 21:25
@afrikanonyma
@afrikanonyma 3 ай бұрын
Well well well... very interesting, guys !
@fabiocroldan
@fabiocroldan 3 ай бұрын
Excellent improvements on the web, it is a shame that will no longer need programmers to use them (💀AI)
@brangja4815
@brangja4815 3 ай бұрын
Web is always the new future
@clementmmas
@clementmmas 3 ай бұрын
I've been using Firefox for years but it really seems to be lagging behind when it comes to supporting new features.
@spartanatreyu
@spartanatreyu 3 ай бұрын
Nah, Google only shows off features that their own browser supports and never goes out out of their way to show off features that they aren't prioritising (even if their competitors already support them). For example, Firefox had subgrid for about 4 years before Google.
@Voltra_
@Voltra_ Ай бұрын
All of this is really cool, but it'd be better to have MORE browser compat and specs, and LESS one-sided evolutions Also older browser supports is extremely important (things like iPhone 11 still have weird quirks, same goes for "older" versions of Android)
@cy3889
@cy3889 2 ай бұрын
Finally🎉 this is a game changer! Does anyone know if this is iOS/ Android friendly? Or just web?
@khanfaysal993
@khanfaysal993 3 ай бұрын
popover was really exciting
@highonranking
@highonranking 3 ай бұрын
really cool stuff!
@socialkruption
@socialkruption 3 ай бұрын
So in other words, I'll be waiting a few years before I use these.
@layhoutchea5695
@layhoutchea5695 3 ай бұрын
Not years, decades.
@SirusStarTV
@SirusStarTV 3 ай бұрын
Wouldn't you just use it indirectly?
@uchennaofoma4624
@uchennaofoma4624 3 ай бұрын
When was the last time you updated your browser? Exactly, you didn't, they just do it by themselves. In a few months you should be good to go with these new features
@socialkruption
@socialkruption 3 ай бұрын
@@uchennaofoma4624 Sorry, you must be new here. Changes aren't rocket fast across the board and to think you would use the new features simply cause Chrome implements them show how green you are.
@kevin00898
@kevin00898 3 ай бұрын
​@@uchennaofoma4624most of the features mentioned are blink-only for now, or at least not implemented yet in firefox. So probably a big longer than a few months :(
@unmye
@unmye 3 ай бұрын
watching this video made me appreciate more Framer motion to exist
@FishTalkFish
@FishTalkFish 3 ай бұрын
I love Una!
@AvionicsDev
@AvionicsDev 3 ай бұрын
38:22 I'm done. Ok bye.
@i_sener
@i_sener 3 ай бұрын
I'm having trust that Tailwind will implement those for the devs.
@UnaKravets
@UnaKravets 3 ай бұрын
Yes! That’s the plan! They’ve already started working on anchor positioning
@forno_nicolas
@forno_nicolas 3 ай бұрын
Hahaha true
@wdirex
@wdirex 2 ай бұрын
Watching features came 1, 2 years before would be better since they just got mainly supported :p
@vadim3
@vadim3 2 ай бұрын
Only Centering a div might be enough :))
@aniketbhushan2096
@aniketbhushan2096 3 ай бұрын
What font is it? Looks neat.
@elliptictree
@elliptictree 3 ай бұрын
I want to see BRAVE!!
@aberbaCodes
@aberbaCodes 3 ай бұрын
Keep betting on the Web!
@quintonashley5745
@quintonashley5745 3 ай бұрын
this is incredible!
@ThugLifeModafocah
@ThugLifeModafocah 3 ай бұрын
this is actually awesome to enable more and more PWAs and move away from the native apps hell.
@TheNewton
@TheNewton 3 ай бұрын
34:58 exclusive accordion - needs preference optout , also needs inclusive accordion behavior. preference optout - It's annoying when sites have a FAQ they've made it so so you can't have to pieces of content open because the others close. inclusive - long FAQ's and you have to click open every question one at a time instead of being able to just open them all.
@brunomachado3690
@brunomachado3690 3 ай бұрын
Does anyone know the name of the code editor theme used in the presentation?
@arafiknurf6801
@arafiknurf6801 2 ай бұрын
finalyy we dont use ------ to separate the contents :")
@codify2450
@codify2450 3 ай бұрын
you throwing accessibility through the window; popcorn pages. Please keep the browser accessible to those who don't have visual capability as you have!
@havefun5519
@havefun5519 3 ай бұрын
anchor v.s. popover, which is better? seems they have some overlapped use cases?
@Killyspudful
@Killyspudful 3 ай бұрын
They work together - popover reveals/hides the 'floating' element, and anchor positions that element in relation to the trigger.
@havefun5519
@havefun5519 3 ай бұрын
@@Killyspudful Thanks for the info🤞
@user-es2ri7lb7h
@user-es2ri7lb7h 3 ай бұрын
getting more complex and heavy
@radislaw
@radislaw 3 ай бұрын
Очень круто! Так много мозговыносящих новинок. Жизнь разработчика никогда не будет прежней
@seanthesheep
@seanthesheep 3 ай бұрын
releasing exclusive accordions is a terrible idea. their UX is really bad, yet for some reason developers love to use it. fortunately, it should be easy to remove with a userscript/ extension
@mbsyaswanth3334
@mbsyaswanth3334 3 ай бұрын
In just a few more years, I have a feeling that we will go back to PHP since we don't need js anymore. This is good and bad at the same time 😢
@anujverma8057
@anujverma8057 3 ай бұрын
Google who autoplays shows forced advertisements on KZfaq having 90% distracting elements , telling the world how to make their website less distractive . improving accessibility for the needy should be appreciated but destroying other peoples mind first is ugly .
@johanalm8105
@johanalm8105 3 ай бұрын
I really want Firefox to implement `@scope` 🙏.
@DenisTRUFFAUT
@DenisTRUFFAUT 3 ай бұрын
Awesome !
@avi12
@avi12 3 ай бұрын
12:47 That 1px upwards translation of "View Transition" bugs me 💀
@skylyne27
@skylyne27 3 ай бұрын
super cool
@divyanshsh
@divyanshsh 3 ай бұрын
superb
@robinparadise
@robinparadise 3 ай бұрын
I need the source code for the menu dropdown
@avertry9529
@avertry9529 3 ай бұрын
The biggest shame is waiting for all browsers to implement these things, like scroll animation timeline and view timeline. I've been waiting too long for this. What's needed is an independent standard, that pre-makes these, so browser makers literally have no work to do other than add them in, like a plugin feature.
@UnaKravets
@UnaKravets 3 ай бұрын
I guess that would be a browser engine. For example, any browser that uses a Chromium-based engine (i.e. Edge, Arc, Brave, etc.) automatically get these features when Chromium implements them. But the 3 major browser engines (Gecko, Webkit, Chromium) are currently too divergent for everything to just work like a plugin.
@avertry9529
@avertry9529 3 ай бұрын
@@UnaKravets Thank you for the response Una, I guess it wouldn't be such a headache, if the polyfills worked, almost every issue over on github is polyfill based. Still I know they are doing their best, and maybe this is why other browsers have not implemented the scroll-timeline yet, simply because it's too difficult to implement.
@LarsRyeJeppesen
@LarsRyeJeppesen 3 ай бұрын
You can just use them, old browsers just won't animate. So what.
@UnaKravets
@UnaKravets 3 ай бұрын
@@avertry9529 There is a popover polyfill by Oddbird! Not all CSS features are easy or efficient to polyfill, though.
@vsdy1990
@vsdy1990 3 ай бұрын
We also need sidebar drawer modals
@UnaKravets
@UnaKravets 3 ай бұрын
You can build those with popover: codepen.io/web-dot-dev/pen/vYbadaJ
@igeoerre
@igeoerre 29 күн бұрын
Yay, one less javascript package year after year :D
@user-ze7ht6pq8i
@user-ze7ht6pq8i 3 ай бұрын
I love Computer .
@edhahaz
@edhahaz 3 ай бұрын
native browser features: useable now, added 10 years ago
@hugocsl
@hugocsl 3 ай бұрын
🤯
@healthadvice3091
@healthadvice3091 3 ай бұрын
5:34 no need GSAP
@nekomew
@nekomew 3 ай бұрын
Yeah no more scrollTrigger plugin for simple scroll animations.
@spartanatreyu
@spartanatreyu 3 ай бұрын
Why download a dependency when the browser can already do it?
@nekomew
@nekomew 3 ай бұрын
@@spartanatreyu Well, so we don't need to rewrite the code especially for complex scroll triggered animations.
@bepd
@bepd 3 ай бұрын
Safari not supporting this stuff makes it useless to me :(((
@snitox
@snitox 3 ай бұрын
Bro jsut make my pc stop overheating if I have 4 chrome tabs open.
@eladshamai
@eladshamai 3 ай бұрын
🤩🤩🤩
@markiel55
@markiel55 3 ай бұрын
RIP Single-Page Apps 15:30
@benravenhill484
@benravenhill484 3 ай бұрын
Cool bro
@rdmercer
@rdmercer 2 ай бұрын
20+ months and Mozilla still cant implement the View Transitions API. This is why Im just going to stop trying to support the browser at all in my code. They aren't even in the fight anymore. Chrome just getting better and better each day.
@imadeekosatriawiguna6252
@imadeekosatriawiguna6252 3 ай бұрын
Tokopedia? 😌
@SirusStarTV
@SirusStarTV 3 ай бұрын
23:42 dangerous section with calm blue color, want to delete my account now
@murali-alive
@murali-alive 3 ай бұрын
Nice, See that's wasn't hard, was it? AI isn't the only cool thing Google.
@troooooper100
@troooooper100 3 ай бұрын
no ios support
@fhubleu
@fhubleu 3 ай бұрын
ada indonesia coyyy 8:15
Navigating the JavaScript framework ecosystem
42:30
Chrome for Developers
Рет қаралды 56 М.
Best Web Design Resources 2024 Worth Bookmarking
7:03
Codex Community
Рет қаралды 160 М.
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 43 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 7 МЛН
A flexbox trick to improve text wrapping
5:02
Kevin Powell
Рет қаралды 210 М.
UI Libraries Are Dying, Here's Why
13:28
Theo - t3․gg
Рет қаралды 304 М.
13 Things To Remove From Your Website Immediately
12:33
Orbit Media Studios
Рет қаралды 310 М.
What's new in the Web (Google I/O ‘24)
42:29
Chrome for Developers
Рет қаралды 42 М.
Transparent text on any background, HTML + CSS (React, TypeScript project)
19:15
Elena Litvinova — The Art of Web Development 🛸
Рет қаралды 4,1 М.
The perfect imperfection of Google's Material You
15:47
David Imel
Рет қаралды 439 М.
Google CEO Sundar Pichai and the Future of AI | The Circuit
24:02
Bloomberg Originals
Рет қаралды 3,4 МЛН
How was this not in the browser before???
16:30
Theo - t3․gg
Рет қаралды 103 М.
A deep dive into optimizing LCP
29:15
Chrome for Developers
Рет қаралды 94 М.
What's new in Angular
39:19
Chrome for Developers
Рет қаралды 23 М.