How did this not exist before???

Поділитися
Вставка
  • Опубліковано 4 гру 2024

КОМЕНТАРІ • 51

  • @mrdeun3655
    @mrdeun3655 6 годин тому +64

    Damn, he ran out of sponsors and had to result to default option, adverts for adverts.

    • @cherubin7th
      @cherubin7th 4 години тому +2

      Reminds me of "your ads here" posters in the city.

  • @Kay8B
    @Kay8B 6 годин тому +26

    How long until we get a moveAfter() ?

  • @camoman1000
    @camoman1000 3 години тому +1

    So is no one going to talk about the colors are actually orange and green not red and blue??

  • @Igstefano
    @Igstefano 5 годин тому +3

    I could barely notice the sneaked-in thumbnail in 4:10. Can't believe how stealth the editor was.
    Jokes aside, this API seems pretty cool. Not something you will use everyday, but something you'll be glad exists when you do need it.

  • @andrewzuo86
    @andrewzuo86 33 хвилини тому

    Oh, like GlobalKey in Flutter! Or like normal keys if the hierarchy doesn't change.

  • @EvanTech-bjc4w
    @EvanTech-bjc4w 6 годин тому +10

    Sorry if this is off topic, but I haven't moved to bsky yet, and I'm asking if I should?

    • @JoshuaDuncan-g7n
      @JoshuaDuncan-g7n 6 годин тому +4

      Yes, is the answer

    • @javierflores09
      @javierflores09 5 годин тому +8

      people are saying it is the better twitter but it is really just twitter with a smaller following, once it becomes big enough it'll just be the same old twitter we all hated

    • @luciascarlet
      @luciascarlet 5 годин тому +2

      @@javierflores09 that's not true at all due to its architecture

    • @erierierierierie
      @erierierierierie 4 години тому

      ​@@javierflores09it's smaller because all the nazis stayed on twitter. most people i follow have moved over at this point, and there's increasingly more people deleting their twitter accounts entirely

    • @JoshuaDuncan-g7n
      @JoshuaDuncan-g7n 4 години тому +2

      @javierflores09 not true at all. It's decentralized and built with algorithm that you can control (based on your likes, not your scrolling activity). Additionally, the community is much more positive and outspoken against propaganda, and the algorithm doesn't punish you for content or links. (X's algorithm has been shown to show posts less if they contain a link to another page, or if they mention bluesky for example). This is bad because it means posts with real references aren't promoted on the app and fake news is everywhere. Also if you want to point your following to let's say an app you made or your new business, good luck because X's algorithm won't show it to many people.

  • @jordanbrennan1296
    @jordanbrennan1296 Годину тому

    Thank you for covering web platform tech, do more!

  • @TheProcessor
    @TheProcessor Годину тому

    Did you create the twitch portal stuff yourself? I thought you mentioned that you used react-reverse-portal

  • @Mempler
    @Mempler 2 години тому

    Thats neat, i had some really weird workaround for this before... for example not reparent it but move the position and calculate the absolute position.
    Horrible hack, but it looks good enough

  • @deatho0ne587
    @deatho0ne587 4 години тому

    I will do something like this when asked to & only when asked, but will remember it at that time. Extremely since it is not in browsers yet.

  • @Salbeira
    @Salbeira 5 годин тому +1

    I bet it doesn't change current behavior but why would you call input.remove() at 6:55? An element can only have one parent so appendChild itself should reparent an element without having to call remove before. Intuitively, this should already have the state preserving behavior, though if appendChild implies a remove from the DOM and a subsequent add to the parent child list ... yeah this can get very confusing.

    • @profesor08
      @profesor08 5 годин тому +1

      but it doesn't, state is not preserved, video is paused.

  • @nemikolh
    @nemikolh 4 години тому +2

    Wooooo that API is going to be huge for WebContainer and its previews.
    For TutorialKit which uses Astro we had to use a fork of Astro temporarily exactly for that reason. And for the previews we have them absolutely positioned to make sure their state is not lost.
    Thanks for sharing this! ❤

  • @ralphlaurage
    @ralphlaurage Годину тому

    I swear this is already a thing with JQuery no? Or am I trippin...

  • @MadsterV
    @MadsterV 4 години тому

    By separating state from rendering this is moot. I've been able to do this for years without new APIs.

  • @edwardallenthree
    @edwardallenthree Годину тому

    I love the dialog element. This is awesome too.

  • @stonedoubt
    @stonedoubt 3 години тому

    Why not prependChild?

  • @ymi_yugy3133
    @ymi_yugy3133 5 годин тому

    This is pretty cool and looks like it will fix a bunch of annoying behavior in frameworks. Also the flag is already in stable chrome.

  • @XCanG
    @XCanG 4 години тому

    Why only "before"? Where is after?

  • @DaniDipp
    @DaniDipp 4 години тому

    Will this support CSS transition?

  • @rrraewr
    @rrraewr 6 годин тому +16

    Me moving the mute button for the autoplay video into accordions when the mouse comes to close

  • @jonerno
    @jonerno 3 години тому

    Safari can't createWritable().

  • @davidolufemi9247
    @davidolufemi9247 6 годин тому +1

    In on the dot

  • @skswldms
    @skswldms 5 годин тому

    Wait that's just crazy

  • @MilanJ
    @MilanJ 6 годин тому

    react portals the ocky way

  • @ThingEngineer
    @ThingEngineer 3 години тому

    “This goes way beyond what we can do with react.”
    I find myself saying that a lot.

  • @TaiGroot
    @TaiGroot 5 годин тому

    gdi why'd you have to hit me with that 25 and older

  • @martoxdlol
    @martoxdlol 2 години тому

    I'm thinking of making a software product just to be advertised in a Theo's video

  • @RyanF470
    @RyanF470 3 години тому

    htmx ftw

  • @ymi_yugy3133
    @ymi_yugy3133 6 годин тому

    Please tackle accessibility proactively and don't just rely on customer feedback. Having a usable web, shouldn't require you to hit up devs all the time. Also good luck finding contact info if the site isn't accessible.

    • @t3dotgg
      @t3dotgg  5 годин тому

      Never said you shouldn't be proactive! If you took that message from what I said here, you are part of why so many people get annoyed by accessibility advocates

  • @dasten123
    @dasten123 6 годин тому +6

    What does this have to do with React?? Man, React people always talk like everyone is using it..

    • @t3dotgg
      @t3dotgg  5 годин тому +8

      Over 50% of frontend jobs are in React my man. Not everyone, but it's a very relevant example when new APIs are released.

    • @dasten123
      @dasten123 5 годин тому +1

      @@t3dotgg I don't mind the example you showed being for React. I guess I was just excited to see a video about a cool new browser API and didn't get what I expected

    • @moon_bandage
      @moon_bandage 4 години тому +1

      You can swap out React for any frontend framework here. The essence of what he's telling remains the same, without this API you have to keep the state of the nodes reactive (even stuff you may not necessarily need to be reactive) so a frontend framework can completely recreate this branch of the DOM elsewhere and make it appear as if it moved, Theos example was a good one in showcasing the benefit imo, this seemingly minor addition to the DOM api is actually huge!

  • @matthewdolman
    @matthewdolman 4 години тому

    19% of react devs go to primeagen to learn about react😂

  • @Keyshooter
    @Keyshooter 5 годин тому +1

    if the video was muted why i can heard it in my head?
    also, this new feature is sweet

  • @rwbcodes
    @rwbcodes 3 години тому

    I've heard you say you are color blind and you proved it calling that color blue instead of green haha

  • @whydoyouneedmyname_
    @whydoyouneedmyname_ 6 годин тому

    This is so cool

  • @TheidiotAmongUs
    @TheidiotAmongUs 6 годин тому

    E

  • @gamer-gw9iy
    @gamer-gw9iy 4 години тому

    You're doing too much at this point

  • @jul1us.05
    @jul1us.05 6 годин тому

    third