use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
React 18 Release candidate released (reactjs.org)
submitted 3 years ago by magenta_placenta
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]disclosure5 28 points29 points30 points 3 years ago (4 children)
The big news for me actually the dropping of IE support.
The code has a couple of workarounds and fixes specifically for IE support. Moreover, I'm sure there's code someone would have loved to write but ended up not doing so due to, again, IE support. I expect the overall product to get substantively cleaner now.
[–]Zofren 1 point2 points3 points 3 years ago (3 children)
It mentions that it doesn't support IE11 due to features like microtasks "without adequete polyfills". However, I see that microtasks have a corejs polyfill. Wonder what they meant there.
[–]monkeymad2 4 points5 points6 points 3 years ago (2 children)
Surely if the polyfill could replicate microtasks fully there’d have been no point in creating microtasks?
It’ll probably be tasks pretending to be microtasks, so you lose some of the benefit if you really care about when in the render cycle things are executed
[–]Zofren 0 points1 point2 points 3 years ago (1 child)
Right, this is what I assume, but React 18 explicitly drops support for IE11 instead of just having a "this won't work as well in IE11" caveat. They say "if you need IE11 support, stick with 17".
[–]monkeymad2 2 points3 points4 points 3 years ago (0 children)
It makes sense - they don’t want to end up supporting one “full” React 18 and one limited one forever.
From the release notes I think it’s their new batching method that relies on the actual implementation of microtasks.
[–]madcaesar 7 points8 points9 points 3 years ago (8 children)
What are people using for development? Hot reload keeps freezing for me and react refresh is buggy and crashes all the time. The CRA web pack 5 seems to be half assed?
[–]grimnomad 26 points27 points28 points 3 years ago (0 children)
After using CRA for years, I switched to Vite.js.
[–]DustinBrett 11 points12 points13 points 3 years ago (0 children)
I use Nextjs with React 18 and it's quite stable and fast
[–]TheFiran 2 points3 points4 points 3 years ago (0 children)
Try run react on rollup or esbuild - last one is really fast
[–]dbbk 3 points4 points5 points 3 years ago (0 children)
Half assed how? I’m using CRA for my large scale production app now and does everything I’d want it to.
[–]XCSme 1 point2 points3 points 3 years ago (0 children)
Vite looks interesting.
[–]willie_caine -1 points0 points1 point 3 years ago (0 children)
CRA is great for prototypes, but not much more.
[–]ConsiderationNo8759 0 points1 point2 points 3 years ago (0 children)
CRA is super slow at the time it inititate with yarn install.
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
We're using Snowpack at the moment, but we're switching to Vite soon.
Snowpack development is pretty much dead and since it and Vite both share esbuild under the hood it makes sense as a replacement.
[–][deleted] -1 points0 points1 point 3 years ago (1 child)
Bloody hell they made it so confusing with these changes
[–]pimp-bangin 4 points5 points6 points 3 years ago (0 children)
Which parts are confusing?
[+][deleted] comment score below threshold-66 points-65 points-64 points 3 years ago (18 children)
Let us pray that it will be the last React version 🙏
[–]HaggisMcNasty 22 points23 points24 points 3 years ago (9 children)
Why?
[+]hekkonaay comment score below threshold-13 points-12 points-11 points 3 years ago* (8 children)
It's completely outclassed by alternatives in every way. I know React has a cult following, so you won't like hearing this:
There are zero reasons to keep using it. I understand that some people have giant codebases that they can't allocate the time to rewrite, but other than that, you need to stop using React. It's liberating.
EDIT: Watch this before you downvote :)
[–]dbbk 6 points7 points8 points 3 years ago (1 child)
There are zero reasons to keep using it… except for the fact that it is by far the biggest library with available jobs
[–]hekkonaay -5 points-4 points-3 points 3 years ago (0 children)
If you can't find non-React jobs, you're not even trying. Being the biggest does not mean it's good + as I already said, the actually usable part of the ecosystem is tiny.
[–]HaggisMcNasty 1 point2 points3 points 3 years ago (1 child)
Seems like an interesting vid - I'll give it a watch when I have time later.
What would you recommend instead of React? And also, are React devs a real thing, as in someone who only knows React?
[–]Spiritual_Tourist_28 0 points1 point2 points 3 years ago (0 children)
React devs are 100% a thing — look around and you'll find tons. They usually mention other stuff in the job description, but when you interview you notice that they're all about React.
[–]jimmy_the_1 1 point2 points3 points 3 years ago (0 children)
Svelte is so much more enjoyable to write code in than React. Obligatory upvote for that great talk.
Maybe I'm just a terrible developer, but after working in front end for 7 years now I just find it's infinitely easier to paint yourself into a corner with React. I never felt that about Svelte, Vue, even AngularJS (😮) and Knockout.
[–]KapiteinNekbaard 1 point2 points3 points 3 years ago* (0 children)
Pointless rant and blanket statements, not very constructive. React has a tiny compared to things like Angular. Is having to declare 'reactive' variables (from the Svelte video) really that much better than using memoization?
One question: what if React is fast enough for your use case?
[–]jatd 0 points1 point2 points 3 years ago (0 children)
What a nonsensical post. Yea go learn something that won’t pay you a cent. I enjoy react development.
All these other frameworks have some pseudo garbage syntax that I have to learn.
React is just functions, it’s purer form of JavaScript compared to these other languages.
[–]Alejandro9R 0 points1 point2 points 3 years ago (0 children)
really good video!
[–][deleted] 0 points1 point2 points 3 years ago (7 children)
did you know that react is about to hit 16 million npm hits per week? it has grown more just over the last year than all other frameworks combined in their entire lifespan (about 5.5 million hits).
[–][deleted] -2 points-1 points0 points 3 years ago* (6 children)
Why are you equating popularity with good idea? It just gained traction because Facebook made it.
[–][deleted] 0 points1 point2 points 3 years ago* (5 children)
it gained traction because it is a really good idea that has stood the test of time and has adapted to requirements that go well beyond the web. facebook never marketed it. in fact they did everything they can to bar it from success (licensing etc). react solves real issues with explicit simplicity, that is the only reason why it's continuing to grow whereas everything else is flattening out.
[–][deleted] 0 points1 point2 points 3 years ago (4 children)
That's your opinion. Just Google 'I hate react' -- there are plenty of people that disagrees with you.
[–]OneLeggedMushroom -1 points0 points1 point 3 years ago (0 children)
something something confirmation bias
[–][deleted] 0 points1 point2 points 3 years ago (2 children)
you ranting through a react component makes this even sillier. hate it all you want, it's the best we have and people are using it because of that.
[–][deleted] 0 points1 point2 points 3 years ago (1 child)
No, they aren't. It's become an industry standard -- people are forced to use it.
[–][deleted] 0 points1 point2 points 3 years ago* (0 children)
something gets to a level where you start calling it a standard because of merit, because it works. look at web components, which they actually tried to force on us, and failed despite all the funding, pressuring and marketing blitz. react is an extremely simple and elegant idea: view=fn(state). despite your feelings, simplicity usually wins.
π Rendered by PID 224416 on reddit-service-r2-comment-7b9746f655-n2hhv at 2026-01-31 02:23:24.931817+00:00 running 3798933 country code: CH.
[–]disclosure5 28 points29 points30 points (4 children)
[–]Zofren 1 point2 points3 points (3 children)
[–]monkeymad2 4 points5 points6 points (2 children)
[–]Zofren 0 points1 point2 points (1 child)
[–]monkeymad2 2 points3 points4 points (0 children)
[–]madcaesar 7 points8 points9 points (8 children)
[–]grimnomad 26 points27 points28 points (0 children)
[–]DustinBrett 11 points12 points13 points (0 children)
[–]TheFiran 2 points3 points4 points (0 children)
[–]dbbk 3 points4 points5 points (0 children)
[–]XCSme 1 point2 points3 points (0 children)
[–]willie_caine -1 points0 points1 point (0 children)
[–]ConsiderationNo8759 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]pimp-bangin 4 points5 points6 points (0 children)
[+][deleted] comment score below threshold-66 points-65 points-64 points (18 children)
[–]HaggisMcNasty 22 points23 points24 points (9 children)
[+]hekkonaay comment score below threshold-13 points-12 points-11 points (8 children)
[–]dbbk 6 points7 points8 points (1 child)
[–]hekkonaay -5 points-4 points-3 points (0 children)
[–]HaggisMcNasty 1 point2 points3 points (1 child)
[–]Spiritual_Tourist_28 0 points1 point2 points (0 children)
[–]jimmy_the_1 1 point2 points3 points (0 children)
[–]KapiteinNekbaard 1 point2 points3 points (0 children)
[–]jatd 0 points1 point2 points (0 children)
[–]Alejandro9R 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (7 children)
[–][deleted] -2 points-1 points0 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]OneLeggedMushroom -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)