This Week In React 292: ⚛️ - Octane - TanStack - StableRef - Next.js - Canvas UI - Reassure - CSS-in-JS 📱 - Workers - SafeAreaView - backgroundImage - WebGPU - VisionCamera - React Navigation - Canvas Kit - Nitro 🍿 Read thisweekinreact.com/newsletter/292 ✍️ @jwr.ski & I
Профиль
Seb ⚛️ ThisWeekInReact.com
Профиль Vively🔥 Join 45k React devs - Stay up-to-date: 📨 ThisWeekInReact.com Docusaurus maintainer @ Meta
more news like this every week here: bsky.app/profile/seba...
Seb ⚛️ ThisWeekInReact.comThis Week In React 292: ⚛️ - Octane - TanStack - StableRef - Next.js - Canvas UI - Reassure - CSS-in-JS 📱 - Workers - SafeAreaView - backgroundImage - WebGPU - VisionCamera - React Navigation - Canvas Kit - Nitro 🍿 Read thisweekinreact.com/newsletter/292 ✍️ @jwr.ski & I
more news like this every week here: bsky.app/profile/seba...
Seb ⚛️ ThisWeekInReact.comThis Week In React 292: ⚛️ - Octane - TanStack - StableRef - Next.js - Canvas UI - Reassure - CSS-in-JS 📱 - Workers - SafeAreaView - backgroundImage - WebGPU - VisionCamera - React Navigation - Canvas Kit - Nitro 🍿 Read thisweekinreact.com/newsletter/292 ✍️ @jwr.ski & I
RegExp Linear Matching is also a nice improvement to look at Particularly for lib maintainers who often receive RegExp DOS security reports, including many harmless false positives With that feature, the number of RegExp DOS is likely to decrease, reducing our burden bsky.app/profile/seba...
Seb ⚛️ ThisWeekInReact.com👀 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...
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👀 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...
Await Dictionary / Promise.allKeyed() is a nice pragmatic improvement! bsky.app/profile/seba... (linking posts for my readers)
Seb ⚛️ ThisWeekInReact.com⚠️ 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
The most exciting to me is Composites pursuing an interning approach! More info here: bsky.app/profile/seba...
Seb ⚛️ ThisWeekInReact.com👀 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
Source: github.com/tc39/proposa...
Pivot to an interning based approach by acutmore · Pull Request #32 · tc39/proposal-composites#15 asked "should we use interning?". After benchmarking and general reflection, the proposal is now pursuing an interning based approach. The primary benefit of interning is that it does...github.com👀 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
Barry PollardMore 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!
npm is now scanning packages for malware at publish time before they become available for consumption
👀 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
Rob PalmerECMAScript 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
Rob PalmerECMAScript 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...
ECMAScript Excitement 🎉 This week, at its 115th meeting, TC39 advanced these proposals: 3️⃣ Await dictionary 2️⃣.7️⃣ Thenable curtailment 2️⃣ Error code property 2️⃣ Fused multiply-add 1️⃣ Intl.DateTimeFormat alignment with other standards 1️⃣ Linear matching 1️⃣ Map.take