Is it time to move on?

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 418

  • @HemstitchedIrony
    @HemstitchedIrony 2 месяца назад +497

    We're not even post PHP and JQuery how tf are we supposed to be post-React??

    • @GeneraluStelaru
      @GeneraluStelaru 2 месяца назад +25

      Leave PHP alone. It can complement any SPA just fine.

    • @Jhkratos
      @Jhkratos 2 месяца назад +25

      PHP is good now apparently

    • @GeneraluStelaru
      @GeneraluStelaru 2 месяца назад +9

      @@Jhkratos It has pretty good features, especially if you add in packages for data validation and ORM. You also don't need async syntax.

    • @joeyboli
      @joeyboli 2 месяца назад +2

      @@Jhkratos has been since 7.4

    • @joeyboli
      @joeyboli 2 месяца назад

      @@GeneraluStelaru well you dont need async because php isnt an async lang

  • @RezetRoy
    @RezetRoy 2 месяца назад +197

    React devs need 10 years more to finally decide which lib they should use to make a http request

    • @IngwiePhoenix
      @IngwiePhoenix 2 месяца назад +8

      And another 5 to download the bulk their build produced =)

    • @tuananhdo1870
      @tuananhdo1870 2 месяца назад +4

      It’s problem of another devs. I settled on axios

    • @v-lado
      @v-lado 2 месяца назад

      I thought axios is a cross-framework standard nowadays?

    • @MerthanMerter
      @MerthanMerter Месяц назад

      ky is the way

    • @RezetRoy
      @RezetRoy Месяц назад

      @@v-lado angular has its own http client from very start. With interceptors and other stuff

  • @spageen
    @spageen 2 месяца назад +319

    Can we focus on a post-CommonJS world first

    • @geni15o
      @geni15o 2 месяца назад +2

      this

    • @PhilipAlexanderHassialis
      @PhilipAlexanderHassialis 2 месяца назад +5

      Actually this. Like, let's solve the friggin' primitives first.

    • @theairaccumulator7144
      @theairaccumulator7144 2 месяца назад +5

      It's infuriating how 90% of popular libraries are still CJS. you can literally use scripts to convert bruh theres literally no reason to use it anymore

    • @AdamFiregate
      @AdamFiregate 2 месяца назад

      Well said.

    • @Malix_Labs
      @Malix_Labs 2 месяца назад +3

      - Use Deno/Bun instead of Node
      - Use JSR instead of NPM
      That should be enough

  • @mosmo618
    @mosmo618 2 месяца назад +150

    is it time to create a New js freamwork?
    Every day is a good day to create a new js framework!!

  • @Seven-ez5ux
    @Seven-ez5ux 2 месяца назад +281

    Considering there's people still debating whether they should migrate from JS to TS, I'm gonna say no, it's not that time just yet.

    • @MartynasNegreckis
      @MartynasNegreckis 2 месяца назад +19

      Hot take, but I don't always need build step for what *.d.ts and jsdoc can mostly replicate

    • @Svish_
      @Svish_ 2 месяца назад

      @@MartynasNegreckis With latest/next version of Node, it seems I won't either 👍

    • @_nom_
      @_nom_ 2 месяца назад +21

      I just use JS now. TS ruined a lot of the benefits in using JS and offered little to no value. It's good for noob devs though.

    • @DnKZone
      @DnKZone 2 месяца назад +8

      @@_nom_ it's true, I have never faced any problems related to types in plain js...though it's quite handy to use ts because it suggests you the keys in a object, the parameters needed to be passed to a function and what type of data the function will return (and probably some other handy features I can't remember), other than that it's very annoying.

    • @dan-garden
      @dan-garden 2 месяца назад +1

      Any minute now..

  • @jacobtb1
    @jacobtb1 2 месяца назад +54

    I moved to Vue after a Redux tutorial in 2015..

    • @shroomydoteu
      @shroomydoteu 2 месяца назад +4

      ⚰️⚰️⚰️

    • @shanekunz
      @shanekunz 2 месяца назад +1

      And there's still a new state library everyday, lol. people love to over tinker. *tinker tinker tinker*

    • @RezetRoy
      @RezetRoy 2 месяца назад +1

      never felt happier

    • @Gigusx
      @Gigusx 2 месяца назад

      @@shanekunz There are far more people saying there's a new library coming out every day than there are new libraries coming out every year.

    • @shanekunz
      @shanekunz 2 месяца назад

      ​@@Gigusx people are welcome to build and publish as many projects as they want, it's just funny how useless the projects are.

  • @gcash49
    @gcash49 2 месяца назад +60

    based on the job market and the number of greenfield projects still being built with React in big tech and F500 companies, im going to say no..

    • @RezetRoy
      @RezetRoy 2 месяца назад +2

      Millions of flies can't be wrong

    • @son1ss
      @son1ss 2 месяца назад

      ​@@RezetRoymillions of flies pay me money, idc

  • @softultraviolence5673
    @softultraviolence5673 2 месяца назад +18

    I'm working with Vue now and don't miss "rendered more times than expected" not by a bit.

    • @RezetRoy
      @RezetRoy 2 месяца назад

      Render time argument was never a real thing

    • @softultraviolence5673
      @softultraviolence5673 2 месяца назад +2

      @@RezetRoy I agree, this is why I referenced a problem that happens with hooks/useEffect and can be a pain in the ass to debug in certain environments

    • @programmerjowo
      @programmerjowo 2 месяца назад

      @@softultraviolence5673 hook is crap

    • @Fernando-ry5qt
      @Fernando-ry5qt 2 месяца назад

      Wait for you to have to hunt down a state reference somewhere in some mysterious place, mutated by some random indian contractor change that breaks half of your app and have no way to find it besides untangling the spaggetti.
      And of course the timing issued causing components to break if you alter the way you load a particular state fragment
      Grass is not greener on the other side, both frameworks are cool and suck equally

  • @twicfall
    @twicfall 2 месяца назад +15

    I have never regret I migrated my project over to SolidJS. It has resulted in much cleaner and simpler code (no useCallback, useMemo) and less need for complex state management while gaining significant performance improvements. But still, it provides the JSX syntax React developers are used to.

    • @shenzo-
      @shenzo- 2 месяца назад +2

      React 19?

    • @unicodefox
      @unicodefox 2 месяца назад +1

      I like Preact. You can write code like Solid OR React, even in the same component

    • @IStMl
      @IStMl 2 месяца назад

      @@shenzo- Look up "I tried React Compiler today, and guess what... ".
      React is broken at the core and there's nothing they can do to fix it.

    • @IStMl
      @IStMl 2 месяца назад +4

      Solid is such a joy to use

    • @TesterAnimal1
      @TesterAnimal1 Месяц назад

      So. You write XML. And mix logic in with it?
      What’s the difference between you and late 90s developers using ?

  • @vishalsinghpanwar2972
    @vishalsinghpanwar2972 2 месяца назад +8

    in short, React may not be the only game in town, but it's still a super valuable skill to learn, and beginners shouldn't be discouraged from learning it. ❤
    However, it's also super important to keep your eyes & ears open and be aware of the alternatives of the changing landscape. 👀

    • @Frostbytedigital
      @Frostbytedigital 2 месяца назад +1

      Solid is probably one of the best options that's not particularly popular. I have to use react for work but all my side projects are solid or svelte and they both have better DX imo and are definitely more performant.

  • @willw2596
    @willw2596 2 месяца назад +6

    The example of passing a Promise into the ClientExample component is actually a horrible feature. It's not just mixing code and UI. It also mixes delayed async rendering with the UI. It really makes the UI = f(state) a big lie. That's nothing functional about it, when the result of f(state) is an ever shifting unknown mess.

  • @personinousapraham3082
    @personinousapraham3082 2 месяца назад +8

    Umm, Solid Start does, it gives you way more control with (imo) better ergonomics around data paths

  • @Lambda_Ovine
    @Lambda_Ovine 2 месяца назад +1

    Svelte is what you'd expect the next evolution for HTML rendered content for responsive design would be. It's like, "here's HTML, but like, responsive." That's what I like about it the most for the front end, but yeah, once you get used to using hooks and state in React, it's really not that bad and very composable. Now, if only React developers learned to actually use semantic tags and Fragments instead of just everywhere because that kills accessibility

  • @IronMaidzen
    @IronMaidzen 2 месяца назад +17

    Im not using react (Vue in my work and Svelte for private projects) but Bashing on react is just stupid, reacts push for better UI Code is the only reason we can choose between these framworks now. I don't know what the "better" framework is, but right now it reminds me a lot at the times jquery was suddenly hated although it has made our lives easier for a decade and pushed JS to integrate better standards like querySelctor etc.

  • @jsebrech
    @jsebrech 2 месяца назад +7

    So, what if your user is on a spotty connection, and the Suspense ends up failing. How do you put a retry button in front of them that they can use to refetch that one Suspense without reloading all the rest?

    • @IngwiePhoenix
      @IngwiePhoenix 2 месяца назад +4

      YES! THIS! Germany's mobile data network is spotty like that, especially if you go by train - which I have to do often, as I am blind and can not drive a car. So sometimes those goddamn webapps just hang forever X.x

  • @manoellopes211
    @manoellopes211 2 месяца назад +3

    I love React with all my heart but I see a very clear lock in with Vercel coming up in a near future and the concerns me A LOT

  • @RealRogerFK
    @RealRogerFK 2 месяца назад +3

    HTMX actually does the whole waiting thing you did. You can even poll an endpoint and all and with a very few lines and not all of that yapping
    And yes, Suspense is actually insane for webapps, specially when using React Three Fiber (which I learned for a shwaty but she didn't appreciate it)

  • @kocokan
    @kocokan 2 месяца назад +39

    All should move on to jQuery and the world would be healed

    • @programmerjowo
      @programmerjowo 2 месяца назад +4

      The fact is most web site still using jQuery 😂

    • @jonathanvioleta3578
      @jonathanvioleta3578 2 месяца назад

      I'm still writing my code using jquery 🙂

    • @cerulity32k
      @cerulity32k 2 месяца назад

      fr, jquery is actually goated

  • @Sameer.Trivedi
    @Sameer.Trivedi 2 месяца назад +7

    We still haven't moved to react and you are talking about moving on from it 😅

  • @DarenC
    @DarenC 2 месяца назад +71

    We still use jQuery 👍🏽

    • @Teodor-ValentinMaxim
      @Teodor-ValentinMaxim 2 месяца назад

      ye

    • @MailsonWei
      @MailsonWei 2 месяца назад

      Same

    • @programmerjowo
      @programmerjowo 2 месяца назад

      Legend

    • @PatNeedhamUSA
      @PatNeedhamUSA 2 месяца назад +2

      We still use Fortran

    •  2 месяца назад

      Heck yeah! You know you were onto something when a crucial part of your creation becomes part of the builtin functionality.

  • @hobbit125
    @hobbit125 2 месяца назад +22

    "Things like web components are almost always terrible"

    • @michaelwarren829
      @michaelwarren829 2 месяца назад +6

      100%. people that hate on web components just want them to be react components and dont understand that they arent. they potentially can be though. also wait until all the astro server islands folks figure out that web components and astro server islands are like the exact same. "an empty element that loads a reactive component sometime later when js is requested, received and parsed" is literally where the js that defines is is in lol

    • @hobbit125
      @hobbit125 2 месяца назад +1

      ​@@michaelwarren829 yep. next year or so, someone will take one of the many obvious patterns that you can build around webcomponents, sprinkle a bit of css/js around it and act like they just reinvented all of web development.

    • @fghdfghdfgghdstwesdfjtykjyfgk
      @fghdfghdfgghdstwesdfjtykjyfgk 2 месяца назад

      what about SSR with dem? the first thing that's required now

    • @Breadlywins
      @Breadlywins 2 месяца назад

      Lit should be wayyy more popular

    • @spartanatreyu
      @spartanatreyu 2 месяца назад

      @@fghdfghdfgghdstwesdfjtykjyfgk If you want your web components to be SSR'd, you can just make them SSR'd and have them update on the client only when they need to. Web components are just html/css/js.

  • @MarkMark
    @MarkMark 2 месяца назад +2

    Phoenix Liveview is pretty awesome. I’m just saying. ;) Amazing engineering productivity, and delightful to work with.

  • @IngwiePhoenix
    @IngwiePhoenix 2 месяца назад +3

    That MVC punchline hit me hard. I grew up on Yii and jQuery. It was my heart and soul for years and I am STILL transistioning...

  • @meka4996
    @meka4996 2 месяца назад +5

    SolidJS so much better to work with than working with React/NextJs

  • @Sean_neaS
    @Sean_neaS 2 месяца назад +1

    The reason I never use large frameworks because the only thing you're leaning is that framework for the most part. If you coded that same example with AJAX with maybe some some small helper libraries you're leaning skill set transfer and will last you 20 years.

  • @ItsRyanStudios
    @ItsRyanStudios 2 месяца назад +3

    Yes it's time to move on... from web dev.
    Moving to embedded systems. It's so wholesome to write software that will run for decades, and not become obsolete every 5 years when a new framework comes out.

    • @mattmurphy7030
      @mattmurphy7030 2 месяца назад

      @baconmanthelegendthat’s like saying painting and drawing are two completely different things.

    • @fghdfghdfgghdstwesdfjtykjyfgk
      @fghdfghdfgghdstwesdfjtykjyfgk 2 месяца назад

      @@mattmurphy7030 i mean they are kinda

    • @mattmurphy7030
      @mattmurphy7030 2 месяца назад

      @baconmanthelegend you never made a career change? Are you like 14?

  • @alexanderhorner
    @alexanderhorner 2 месяца назад +1

    Can you please make a video about web components and why they’re bad? I‘m currently the only react developer in a company and I originally started there because I thought they wanted to switch from angular to react. But now a bunch of back end developers are pushing web components as an alternative for react which is insane to me…

  • @Veretax
    @Veretax 2 месяца назад

    Wow that little sample of code is really neat I think everyone who is nervous about these things should just walk through the steps you just did to understand how that work cuz you just explain something that I was struggling with months ago. That I fixed in a very similar fashion but I didn't understand why it was working because I was missing a couple pieces which you just demonstrated and I don't know how to articulate it

  • @NFSCsapat
    @NFSCsapat 2 месяца назад +5

    If I could change the most used framework with one snap, I'd change it to Svelte, fast, easy to learn, no bullshit

    • @janisozols5255
      @janisozols5255 2 месяца назад +3

      Solidjs even way less bullshit

    • @IStMl
      @IStMl 2 месяца назад

      Solid doesn't require you to relearn a whole new framework. It's React without the bs.
      You're never gonna convince a whole team/company to switch to Svelte. Solid however? Just show them how similar the code is.

    • @Gigusx
      @Gigusx 2 месяца назад

      @@IStMl Switching is generally hard, a lot of sunk cost. Can always make a case to build a new codebase in it though.

    • @IStMl
      @IStMl 2 месяца назад

      @@Gigusx Svelte also requires to learn an entirely new way of building web apps. Solid code is so similar that refactoring files can mostly be done by GPT, and requires little work

  • @gavipk
    @gavipk 2 месяца назад +1

    for everything that resembles a standard browser app, angular. propper oop style framework. typescript non negotiable. and html is pure html. makes so much more sense.
    for everything else, vanilla js.

    • @mrgalaxy396
      @mrgalaxy396 19 дней назад

      HTML in Angular is far from pure HTML, there's a lot of added syntax by Angular and inline JS used.

  • @danny3man
    @danny3man 2 месяца назад +5

    I`m sorry, but i`m gonna skip your video this time, and no, not because of the click-bait thumbnails you keep using but because i read that article first... and it was the biggest click-bait (not title, but the whole press article) that i`ve read in a while....
    It's like i`m genuinely annoyed and enraged at that article.... It's just gives you a small history of the react, that it has some problems(like every other tech in this world) that it has its supporters and haters (like every other thing in this world), a very brief "there are others too, you know ?" and in the end it blatantly slams you with "Oh well you know it's to early to ask if we're in a post react front-end landscape".
    And that is it... besides "there are others who don't use VDOM", there's nothing else, no "why are these better, faster, stronger, " arguments, no new tech, right now behind the corner, not even an "AI is gonna do it all" ramble....
    What a ducking waste of time that was.....

  • @ray73864
    @ray73864 2 месяца назад +1

    Only React people could have ever believed that 'frontend development' was tied to React. I've never used it and have no intention of ever using it, and i'm in charge of a rather large point of sale that I've been developing for the company since 2009.
    Really, JS frameworks have just come full circle to PHP, and I'm more than happy to continue with the MVC pattern. (My system is not built in PHP either, it's built in a language that pretty much nobody here will have ever heard of).

    • @LeFlamel
      @LeFlamel 2 месяца назад

      what lang?

    • @ray73864
      @ray73864 2 месяца назад

      @@LeFlamel Progress OpenEdge ABL with an HTML frontend.

    • @ksg7882
      @ksg7882 2 месяца назад

      @@ray73864 It's hilariously bad, just made of marketing hype and the shattered dreams of orphans. In general, languages which attempt to be English-like are always terrible. The company standardizing on that means their management is VERY gullible.

  • @aizensoskue3880
    @aizensoskue3880 2 месяца назад +8

    oh passing a promise is a new thing ? sveltekit had it from v1 you just return a promise from a server load FN and let svelte handle it with it await block

  • @pokefreak2112
    @pokefreak2112 2 месяца назад +2

    I'm more interested in a post-typescript environment tbh.
    back in 2015 everyone was pushing js forward with custom babel plugins. Then typescript came along and unified everything into a single (semi)-statically typed language and refused to innovate since. afaik the only new syntax we've gotten since those times is the using keyword, and clearly that's because Microsoft controls Typescript so they can just shoehorn it in there.
    Typescript is great but it really should be a community controlled project with a rich plugin API to add custom features, as it stands now it's holding us back.

    • @mattmurphy7030
      @mattmurphy7030 2 месяца назад

      What should be added exactly?

    • @pokefreak2112
      @pokefreak2112 2 месяца назад +2

      @@mattmurphy7030
      Well they definitely should ditch experimentalDecorators and implement the new proposal. it's stage 3 and effectively done.
      then just like they did for experimentalDecorators they should add support for the more experimental proposals under feature flags. namely:
      - pipeline operator
      - pattern matching
      - do expressions
      and as already mentioned have a plugin system so new proposals could come with their own implementations instead of needing to be added directly to ts. you really don't want a central body to have authority over which features get proper LSP support and which ones do not.

    • @pokefreak2112
      @pokefreak2112 2 месяца назад

      @@mattmurphy7030 another example of why we need this: people have been saying they want "throws" annotation support in typescript for years now, but Microsoft doesn't want to add it. The only way you could implement this right now is by completely forking typescript and going through the hassle of somehow getting editors to use your modified language server for .ts files instead of the vanilla typescript one.
      if typescript just had a plugin/compiler hooks system we could just implement this feature we want as a plugin and use it that way. And if it gets popular it might get merged into typescript officially.
      But none of that innovation can happen with the way typescript is currently governed.

  • @sunny8k
    @sunny8k 2 месяца назад +13

    Yes, my goodness please yes. At the very least switch to SolidJS without a decade of cruft and tech debt. React is so far removed from standard JS that it's unfun to use

    • @onça_pintuda999
      @onça_pintuda999 2 месяца назад

      Totally agree, I knew it would have a comment saying about Solid, is just the right way of how it should work. Its insane to still use react even knowing that solid is the react that is better than react, what what react seemed to be in the beggining... Simple, solid and fun

  • @TesterAnimal1
    @TesterAnimal1 Месяц назад

    Way past time to move on from “frameworks” which have CRIPPLED the minds of a generation.
    These people treat complex, high cost widgets like they are disposable as s because they are encouraged to think of them as mere “tags”.
    “Frameworks” have cost the industry billions and set web development back by years.
    The developers are crippled.

  • @techikansh
    @techikansh 2 месяца назад +3

    feel like i have watched this video before. like a week ago. Did you reupload?

  • @hexxt_
    @hexxt_ 2 месяца назад +10

    i dont wanna be that guy but you can can pass promise props and await inside svelte markup with much simpler syntax
    ```
    export let promiseProp;
    {#await promiseProp}
    Loading...
    {:then data}
    Data: {data}
    {:catch error}
    Error: {error.message}
    {/await}
    ```

    • @TheOllieJT
      @TheOllieJT 2 месяца назад +2

      Was looking for this comment. SveltKit has streaming - passing promises around from server to client.
      ... also, sisn't react.learn come after the infamous Svelte tutorial?

    • @wouldruin2687
      @wouldruin2687 2 месяца назад +3

      Runes aren't really analogous to hooks, either. So the idea that hooks influenced runes seems like nonsense (assuming this is what they mean by reusable logic). You can use runes in a similar fashion to hooks (but you could also use stores as well, if not a little bit verbose), but they're a lot more than just "svelte hooks". The closing thesis that "React is relevant because it's still leading ideas" seems to be based on ignorance of other frameworks.

  • @tedchirvasiu
    @tedchirvasiu 2 месяца назад +30

    At this point it would feel like leaving your wife you know (with goods and bads) for a random girl just because she's younger.

    • @SXsoft99
      @SXsoft99 2 месяца назад +6

      if it's a toxic relationship yes

    • @QuebnQ
      @QuebnQ 2 месяца назад +7

      Going back to JQuery is like getting back with your ex.

    • @prateekshukla346
      @prateekshukla346 2 месяца назад +1

      Bruh the drama ya'll with which ya'll talk about tech libs....smh

    • @dadi_vlogs3254
      @dadi_vlogs3254 2 месяца назад +4

      @@QuebnQ the first love lol

    • @SeanCTTR
      @SeanCTTR 2 месяца назад +2

      @@SXsoft99 every relationship has its ups and downs. So will the one you leave for

  • @WiseWeeabo
    @WiseWeeabo 2 месяца назад +1

    It's insane that we haven't evolved to the point where vanilla js/html/css is good enough..
    That we still need these "total conversion" mods to make a sensible front-end on the web..

  • @tomascastelli8491
    @tomascastelli8491 2 месяца назад +3

    Btw svelte runes are very different to react hooks...

    • @onça_pintuda999
      @onça_pintuda999 2 месяца назад

      Its the same as Solid Signals, but react dont have anything quite like that

  • @velkb228
    @velkb228 2 месяца назад +22

    PHP:
    *laughs in php*

  • @williampaix
    @williampaix 26 дней назад

    In my opinion the post-react world began when Vue came out.
    The corporate world has of course lagged behind, like it always does. And people eager for a corporate job have since been keeping React alive.

  • @kdhlkjhdlk
    @kdhlkjhdlk 2 месяца назад +12

    My front-end is just static.

    • @biigmonee
      @biigmonee 2 месяца назад +3

      Congratulations!

    • @RezetRoy
      @RezetRoy 2 месяца назад +4

      No logic - no problems

    • @programmerjowo
      @programmerjowo 2 месяца назад +2

      Peace in our time

    • @IStMl
      @IStMl 2 месяца назад

      HTMX vibe

    • @Gigusx
      @Gigusx 2 месяца назад

      @baconmanthelegend W roast

  • @PortalUser2
    @PortalUser2 2 месяца назад +2

    Comment re 17:00: It is not so *** cool Theo. It is so much less elegant that Blazor's mixed mode. Spend some time out of the Next.js ecosystem. EDIT: Theo states "Nothing has this level of composability" but that is just wrong Theo.

  • @Xhisorz1
    @Xhisorz1 2 месяца назад

    nice vid theo. i enjoy the code examples and hearing your thoughts.

  • @LutherDePapier
    @LutherDePapier 2 месяца назад

    STAAAHHHPP. Just a friendly reminder if someone comments the video without looking it doesn't count as a view. And Firefox automatically blocks autoplaying videos.

  • @guxit
    @guxit 2 месяца назад +1

    I dislike Suspense. It doesn't makes sense to disconnect your loading UI from the content, and we cannot handle UI transitions which is just awful. NextJS streaming features are cool technically, but the fact that we need to prop-drill again is bad DX. What I really want is have Next stream requests from the server, but populate SWR/useQuery cache, so I don't need to have a direct prop-chain from the lowest page component or convolute things with contexts.

  • @zlatanonkovic2424
    @zlatanonkovic2424 2 месяца назад +8

    React would be fine if it weren't for the broken reactivity coming from a decade of bragging that it's "just a library bro". Look at Preact or Solid. They give you the same ergonomics without all the rendering garbage from React.
    It awesome a decade ago and it definitely inspired many libraries and frameworks but at this point we should really move on.

  • @sardineBro
    @sardineBro 2 месяца назад +4

    You know how I know it’s time to move on? Enterprise companies are barely starting to use it.

    • @nogovi2686
      @nogovi2686 2 месяца назад +1

      You’ve just lied

    • @sardineBro
      @sardineBro 2 месяца назад

      @@nogovi2686 nope, I've interviewed at some recent enterprise companies and they are all exploring a slow migration towards integrating react

  • @pi-or-die
    @pi-or-die 2 месяца назад

    hearing that jsx was a later add-on to react kinda blows my mind - what were yall doing before??

  • @Delsto5
    @Delsto5 2 месяца назад

    I have been learning frontend for a few weeks now and have been trying to decide between frameworks. I landed on React the other day and this helped me to solidify that choice 👍

  • @faraonch
    @faraonch Месяц назад

    I hope people, especially haters slowly realize that you do know your shit. It's impressive to see you navigating through certain use cases without errors or being stuck.

  • @IngwiePhoenix
    @IngwiePhoenix 2 месяца назад +1

    Finished watching the whole video. If React has done me any harm then it is making my slow as fuck internet out in the boonies even slower with gigantic bundle sizes - and my friends and their accessibility problems (screen reader, braille display) became MUCH worse. Just as an example, people abuse as an alternative to basically everywhere. Plus, the ultra depth of some of those pages actually leads to screenreaders talking gibberish at some point or...just nothing at all instead. xD Discord, frequently breaks and it was written with this kind of framework... so, while I get the idea of composability and stuff, I do wonder if this has made people either lazy, or so busy with their build tools and other fuzz that they forgot to build an actually usable UI...?

  • @fronix5060
    @fronix5060 2 месяца назад +1

    Looks at article title:

  • @samuelbidocuello
    @samuelbidocuello 2 месяца назад

    Having a component based approach let's the browser cache it better. I believe a subset of JSX could work as a seamless replacement, and is an opportunity to drop the legacy support and make the CSS reset the default

    • @samuelbidocuello
      @samuelbidocuello 2 месяца назад

      Picture writing an static website with JSX, isn't it more ergonomic?

  • @2u841r
    @2u841r 2 месяца назад +1

    I just heard the name "Chedeau"
    Legendary guy, obviously.
    But yeah, I respect Anthony Fu

  • @corntaco
    @corntaco 2 месяца назад +2

    react js was a revolutionary tool.
    so was the combustion engine.

  • @bideshbanerjee5506
    @bideshbanerjee5506 2 месяца назад

    Anything which you can send through the network, can be passed as props from server to client component as well

  • @dev-akeel
    @dev-akeel 2 месяца назад +1

    Send me link, I'll read it myself.

  • @smallbluemachine
    @smallbluemachine 2 месяца назад +3

    Web dev has been an absolute ghetto. Web Assembly was gifted to you and all that happened was the radio and rims got ripped off and gang tags were sprayed down the side. Sad.

    • @EldinHabibovic-i7m
      @EldinHabibovic-i7m 2 месяца назад +1

      Webassembly isn’t meant for GUI though. The frameworks that do user it still need a bridge to JS for DOM update etc. With that come many negatives

    • @smallbluemachine
      @smallbluemachine 2 месяца назад

      That’s just the PTSD talking. -The DOM is THE hack. WA let’s you display whatever you want with whatever language and UI framework you want, with a REST API of your choosing, like an ordinary, sane human would want to when programming a computer.

    • @IStMl
      @IStMl 2 месяца назад

      Oh yeah let me write a UI in Rust hahahaha
      So stupid

    • @xrcryptodev
      @xrcryptodev 2 месяца назад

      Dioxus?? Full stack rust framework

    • @EldinHabibovic-i7m
      @EldinHabibovic-i7m 2 месяца назад

      @@smallbluemachine Without the DOM there is no a11y built in and many other features that make life easier for your users.

  • @aj_dev_smith
    @aj_dev_smith 2 месяца назад

    new to NextJS and React, but Angular dev of 10 years. Isn't the exciting thing you're talking about at 17:00 basically just the default Angular way of dealing with things. Just swap Promise for Observable. Also to be clear, I'm loving NextJS so far and it already seems to solve a ton of problems I've dealt with for years with Angular, but that specific point just doesn't seem so special to me

    • @t3dotgg
      @t3dotgg  2 месяца назад

      Did you miss the part where the promise comes from the server? Angular had no idea what a server even is.

  • @Sahil-cb6im
    @Sahil-cb6im 2 месяца назад

    i worked 1 year react, 1 year vue, currently in vue. but i really love one way binding and jsx with ts. for personal project i use react with vite, zustand and mui.

  • @thederpykrafter
    @thederpykrafter 2 месяца назад +1

    React made me not want to do web dev anymore lol svelte brought that back for a bit but I haven't touched any html/js in months. Might use svelte for a front end in my next project if I get tired of tui's

  • @IStMl
    @IStMl 2 месяца назад +5

    Yes, SolidJS ftw

  • @dzigizord6567
    @dzigizord6567 2 месяца назад

    If you pass in a promise to the client can it leak credentials if the promise is an api request with some api key in it, or does it just stream the response and the actual promise is executed on the server?

  • @JohnLovell-FTW
    @JohnLovell-FTW 2 месяца назад +3

    Y'all come back to ExpressJS... we know you're weary and tired of the rat race. (MVC is still King)

  • @JarheadCrayonEater
    @JarheadCrayonEater 2 месяца назад +3

    It's time for new web protocols and to move beyond HTML and JS as the engines. We've been stuck here for over 30 years, and I've been programming for 40. That's a long time to be beating the same dead horse.

  • @supernova_eu_w
    @supernova_eu_w 2 месяца назад

    Can’t agree more with Theo here. My experience with people that claim these things, is that they’ve never actually built and maintained a big frontend. I started developing frontend professionally in 2013, so I’ve experienced the whole controversial introduction of React among things like Angular. I’ve done a lot of different things in my 11 year journey as a software engineer, but there has been one constant all this time, and that is React. Big companies I’ve worked for are, to this day, still migrating apps to React. I’ve seen teams experiment with things like Vue and Svelte, but the projects almost always ended up being migrated back to React. So no, the React era is far from over…

  • @rex_melynas
    @rex_melynas 2 месяца назад

    The funny thing is, people always say "but use vue, you can have two way data binding" and like, yeah, that's why I love React, you read top downs and things happen from top to bottom, I don't want two way bindings and have to look back and forth.
    Don't get me wrong I get why people like writing less code, or have more expressive code but react is just... too good lol
    And it keeps getting better, it's not like it's the same framework over 10 years.
    From JSX being option, to object components, to class components, to functions, to hooks, to server components, signals and like, the framework will keep getting better, and like, not really harder to understand, if anything it's getting easier.

  • @twilightdev
    @twilightdev 2 месяца назад +16

    Is it time to move on?
    oh boy, NO!

  • @joe-robin
    @joe-robin 2 месяца назад +5

    Wait I just started learning this !

    • @Bluepaccao
      @Bluepaccao 2 месяца назад

      Checkout astro instead :)

    • @ItsRyanStudios
      @ItsRyanStudios 2 месяца назад +1

      Keep going bro
      Thousands of companies use react, and will do so for many more years

    • @bvdlio
      @bvdlio 2 месяца назад +2

      Just keep learning it.
      I use Vue now but started with react. Frameworks have alot in common anyways. In the end its just a matter of preference and what framework gets the job done fastest.
      In most cases the framework you know is the one that gets the job done fastest.

  • @prozacgod
    @prozacgod 2 месяца назад

    Old things are great? Please point me to the DOS apps I can work on, something about working on some old retro stuff sounds fun, and I still can't flush out of my brain all the various INT 21 and INT 10 calls I memorized 30 years ago :/
    Same goes for anyone who wants some windows 3.11 apps, I can write the heck outta some win16 code ....

  • @nonono9700
    @nonono9700 2 месяца назад

    19:04 yes it's cool but under the hood it just make an http request the server and act accordingly, i'm quite satisfied with only react + suspense
    At the end of the day it's just react with sprinkles inside, I don't want to add another layer of complexity to an already complex system

  • @bloodwoork5313
    @bloodwoork5313 2 месяца назад

    In angular you can use observables with async pipes

  • @88RunnerBlade
    @88RunnerBlade 2 месяца назад

    React just getting started, and enterprise companies are starting to update their jquery code base to "new tech". Nothing better out there to move to and considering the share amount of projects written in react the last decade, React will never disappear, same as PHP

  • @tjblackman08
    @tjblackman08 2 месяца назад

    13:30 - 19:50 should be a standalone mini video. 12/10, play with React more!

  • @BobKane-g6x
    @BobKane-g6x 2 месяца назад

    Wow, you managed to render HTML in the browser. That's really impressive. Color me amazed!

  • @Marxone
    @Marxone 2 месяца назад

    C - too old
    javascript - too old
    Never yet named quantum computing native language which will be invented in the future - perfection

  • @brangja4815
    @brangja4815 Месяц назад +1

    Came here to move on from React, ended up learning how cool react is. : (

  • @tato-chip7612
    @tato-chip7612 2 месяца назад

    i love how everyone is trying to redefine the front end but the best front end i've ever seen is the fan site for cavestory that was created in 2008

  • @patrickmuenster
    @patrickmuenster 2 месяца назад

    PHP and jQuery is still king like it was ten years ago. And I never regretted skipping so many "cool" JS Frameworks.

  • @Zuranthus
    @Zuranthus 2 месяца назад +1

    "go learn COBOL" 🤦‍♂ like bruh, look at the job listings, ain't no one getting that fresh out the oven

  • @DanielSanchez_dsanc89
    @DanielSanchez_dsanc89 2 месяца назад +2

    It’s time to move on to SolidJS

  • @sbmb9613
    @sbmb9613 2 месяца назад

    sounds like you're a react fanboy, promise passing ain't all that special. What svelte is doing with runes is cool, I'd say orders of magnitude more useful and simple. state doesn't have to be locked to a single component like in react, can be imported by as many components that share it, can be defined outside components, its basically a separate concept similar to promises where you can chain them, make derivations from other states, its as if promises and events had a baby with sugar syntax.

  • @everyhandletaken
    @everyhandletaken 2 месяца назад

    There are only so many ways to sugarcoat the HTML/CSS/JS that we are stuck with from 200AD.. so, I think we are nowhere near being past popular JS frameworks yet & there is only so much further we can go on that basis, bar a revolution.

  • @matthew_bub
    @matthew_bub 2 месяца назад

    I admire Theos ability to debate that shit is legendary

  • @riclavers3743
    @riclavers3743 2 месяца назад

    actually I think thats the best example of RSC i've seen, you've convinced me.

  • @jasonrooney1368
    @jasonrooney1368 2 месяца назад

    React: it’s just one way data flow
    Also React: from client to server to client to hooks to store to component

    • @RezetRoy
      @RezetRoy 2 месяца назад

      Also puts markup, logic, direct refs to css classes in one file 😢

  • @NabekenProG87
    @NabekenProG87 2 месяца назад

    He makes it sound like React is the only innovator in the space and always ahead because of those innovations. Is that really always the case? As far as I know React Hooks and Signals (the thing Svelte Runes are based on) are not exactly the same. I find it much more realistic that small frameworks experiment with new concepts and React often just adopts the surviving ones. I'm not that deep into the lore, but from the outside it sounds like hype trains shouting at each other

  • @final182
    @final182 2 месяца назад +1

    I want to watch the stop using new technologies video, but it is nowhere to be found... not when searching, not when browsing through your channel... please link it?

  • @AdrianTompkins
    @AdrianTompkins 2 месяца назад

    what was the payload size for the example?

  • @CaptainCodeman
    @CaptainCodeman 2 месяца назад

    I think SvelteKit streaming promises are just as easy if not easier than suspense.

  • @wwloyd
    @wwloyd 2 месяца назад

    I really wonder which crazy framework they're going to invent this time

  • @RatonBroyeur
    @RatonBroyeur 2 месяца назад

    Can do exactly the same thing with .NET blazor :D
    And probably easily with a bit of HTMX.
    React is strong. The main problem is not even him, but the complexity you introduce as soon as you put a step in it.

    • @EldinHabibovic-i7m
      @EldinHabibovic-i7m 2 месяца назад

      Yeah, except with wasm a hello world is already 2mb and server’s connection is fragile enough to disconnect when someone switches apps on their phone. And that’s not including that blazor is one of the slowest frameworks in runtime.

    • @PortalUser2
      @PortalUser2 2 месяца назад

      @@EldinHabibovic-i7m That is certainly the "glass half empty" interpretation. You can say "Blazor Interactive Server has lag when you are far away from the server" or "Blazor Interactive Server is the by far the most performant of all the frameworks (when you are close to the server)". Or you could say Blazor, when running on a device like a phone or local operating system is much more performant than other frameworks because the code is running natively compiled on the device (not in the browser and not even using HTTP). All these things have trade-offs. By now with all the options blazor has, that can be combined in ad-hoc ways, it is unlikely you will not be able to build a very good solution with Blazor. The key is that blazor lambdas (closures) run next to your code rather than next to the renderer. That is the power of blazor and simply make it more productive and more secure than most other frameworks.
      I am 100% convinced new javascript based frameworks will emerge over the next 5 years that copy the blazor model and the javascript community will absolutely start raving about them. What is see in Next.JS and React Server Components is so far behind what you can do with Blazor today.

  • @Sammysapphira
    @Sammysapphira 2 месяца назад

    I feel like the only person who doesn't have an issue with react.

  • @outwithrealitytoo
    @outwithrealitytoo 2 месяца назад

    As a user there is nothing to frontend state other than what I see on the screen... as Nietzsche said "the only world is the apparent world, the real world is only added on lyingly". Top-tip: complicated hierarchies are complicated for the user too. So, React stores the whole DOM so the computer can spot the small changes made by the app at the behest of the user, and just send the changes... ? You could just wait for user actions then send the small changes immediately and directly... htmx? ("our UX dept is a caveman riding a laser horse annd a cheeky bit of js to drive the gewgaws and transitions ").

    • @IStMl
      @IStMl 2 месяца назад

      Some apps require storing the state locally. Not everyone has an amazing connection to the backend.

    • @outwithrealitytoo
      @outwithrealitytoo 2 месяца назад

      @@IStMl a) there is a cache b) there is pre-load and c) that's not a webapp you are describing that's an app app.

    • @IStMl
      @IStMl 2 месяца назад

      @@outwithrealitytoo it's 2024, web apps are "apps apps". Especially PWA. People don't wanna maintain 1 codebase / platform and make users download updates manually

  • @ricoaw500
    @ricoaw500 2 месяца назад

    I love JSX tag since it's indicate UI / Component.

  • @pxkqd
    @pxkqd 2 месяца назад

    I mean, it wouldn't hurt to make other frameworks more popular. But it's not like react is going anywhere.

  • @NickTheCodeMechanic
    @NickTheCodeMechanic 2 месяца назад

    Actually, I'm at the point in my 23:36 career where I DO want to hold off on new tech. It's already a headache to learn "new JS framework XYZ" every bloody week. As someone who started as a backender who just wrote SQL and APIs, it's annoying to have to manage state (JSON Juggling) on the UI and never really have the data 100% synced with the backend all the time (or have dumb runtime undefined errors on the console because some UI dev forgot an edge-case).
    I think React is a complete waste of time and just creates code-entropy. If people want "offline mode" state, just use session and localstorage, ffs. Or use AlpineJS persist and other framework-less libraries.
    90% of the time, I'm just doing SSR in my personal projects. Never have I once had to use ReactJS for ANYthing in the last 2 years for my pet projects. Not ONCE.
    I'm using Razor Pages as a default template and just rendering HTML. AlpineJS when I need it, and that's it. Super fast, no BS.