Seb ⚛️ ThisWeekInReact.com

@sebastienlorber.com

🔥 Join 45k React devs - Stay up-to-date: 📨 ThisWeekInReact.com Docusaurus maintainer @ Meta

Linear Matching moved to stage 1 at TC39 Apparently nobody cares, but as an npm lib maintainer, you should This could greatly help reduce the number of RegExp DOS CVEs Those CVEs are often more annoying than anything because you get a lot of false positive security alerts

Seb ⚛️ ThisWeekInReact.com@sebastienlorber.com · 4w ago

👀 RegExp linear matching proposal Stage 0 Presented at TC39 soon for Stage 1 in 2 weeks It's exciting because it may help reduce the number of ReDoS CVE vulnerabilities Gives an easy way to deal with unsafe inputs used in RegExp and backtracking issues github.com/michaelficar...

👀 Core Web Vitals + Soft nav / history.pushState() SPA framework users should care! Measuring client-side page transitions, officially coming: - Chrome 151 - August 11th - npm "web-vitals" v6.0 - Lighthouse v13.4 - PageSpeed Insights - Real User Monitoring providers

Bild
Barry Pollard@tunetheweb.com · 2w ago

More details on the soft navigations work and how to enable this using the web-vitals library. developer.chrome.com/docs/web-pla... Any questions let me know!

👀 JS Composites proposal update "After benchmarking and general reflection, the proposal is now pursuing an interning based approach." - @acutmore We didn't get Records & Tuples but we may still get interned data structures in JS! Really exciting update if this lands in JS

Bild
Rob Palmer@robpalmer.bsky.social · last yr.

ECMAScript excitement 😉 Congrats to @ashley-c.bsky.social on advancing the Composites proposal to Stage 1 at TC39 today 🎉 This is the evolution of Stage 2 Record & Tuple which has now been withdrawn. A key difference is that Composites are objects, not primitives. github.com/tc39/proposa...

⚠️ Promise.all() makes your code sensitive to destructuring order 🆕 Promise.allKeyed() is IMHO a better alternative in many cases I've been using my "combine-promise" lib for that, and can finally deprecate it soon

Bild
Rob Palmer@robpalmer.bsky.social · last wk.

ECMAScript excitement 😉 Congrats to my coworker @ashley-c.bsky.social at TechAtBloomberg on advancing Await Dictionary to Stage 3 at TC39 🎉 Promise.all returns positional results as an array. Promise.allKeyed allows named results inside an object 👍 github.com/tc39/proposa...

const {
  shape,
  color,
  mass,
} = await Promise.allKeyed({
  shape: getShape(),
  color: getColor(),
  mass: getMass(),
});

👀 React Native 0.87 looks like a big cleanup release Lots of deprecated APIs are being removed, JS + native This includes significant ones: InteractionManager, SafeAreaView... Also, more APIs are getting deprecated, scheduled to be removed later Clearly moving toward 1.0 👀

Bild

... i have joined the @nextjs.org team at @vercel.com. for a start, i'll be working part-time, so please don’t flood me with bug reports yet. however, i’ll try to keep an eye on them as i want to understand what problems Next.js users are running into every day. i want App Router to get good!