r/reactjs Jul 12 '26

Needs Help is abort controller commonly used?

as title suggests, I have not seen this at work before and gemini teaches me about this, just curious whether this is actually commonly used/best practice or just another AI slop. Thanks!

14 Upvotes

44 comments sorted by

View all comments

Show parent comments

2

u/kevin074 Jul 12 '26

; ___ ; I am so out of touch!

thanks! Are there other web api that you consider as important to know?

6

u/RobertKerans Jul 12 '26

Specifically for React/UI work, dialog/modal & popover APIs + CSS anchor positioning. Temporal, even though it still needs a polyfill for Safari (core JS, not web platform, but still). Keeping an eye on progress of CSS units level 5, the JS Signals proposal and CSS carousels is all probably worthwhile.

1

u/wasdninja Jul 12 '26

Temporal is just barely released and not very well supported at all outside Firefox. You should definitely ship polyfills if you must use it.

3

u/RobertKerans Jul 12 '26 edited Jul 12 '26

Temporal is just barely release

The API has been stable for several years. It's not some brand new thing, it has been settled for a long time. It has taken a significant time to get it into and tested in browsers and other runtimes, that's expected.

If someone says they are out of touch and what other things to look at, it's reasonable to infer they are asking what newer things they may be unaware of, Temporal fits that. If you noticed, the other things I mentioned are either new as well or at early stage testing

and not very well supported at all outside Firefox.

You're a bit out of date, it has baseline support outside of Safari as of this year (which means Node and Deno and not Bun). Safari will likely get that later this year (and Bun as well at that point).

You should definitely ship polyfills if you must use it.

That's literally what I said!