ReactJsNews – Telegram
ReactJsNews
76 subscribers
940 links
The latest React news directly in your Telegram
Download Telegram
📜 Introducing Rslib: Build library with Rspack: Developed by ByteDance Web Infra Team, Rslib is a library that aims to be an ideal library development tool that is easy to configure, offers comprehensive features, leverages a shared ecosystem with application building, and prioritizes performance.
👀 React Core PR - createStore() skeleton API: Initial scaffolding work to implement the Concurrent Stores feature mentioned in the latest React Labs update. There’s no implementation yet, but I still find it interesting to check the signature/types of this upcoming API that should support both ad-hoc state updates and the reducer/actions pattern. What strikes me the most is that you can’t access the store value directly, apart from using the use(store) API, and this totally makes sense in a concurrent world. Remember, this is a work in progress, and things may change.
👍1
👀 React Core PRs - <SuspenseList> being actively worked on: It’s been a while since we last heard of this upcoming component that we thought would be in React 18. It allows to coordinate Suspense boundaries and control their “reveal order” (forwards/backwards/together).
👀 SWC PR - Initialize @swc/react-compiler: A new package to integrate the React Compiler for all SWC-based projects is coming. It will still use Babel under the hood (details), but it’s possible to optimize by only running it on relevant files (see what Next.js is doing), potentially using parallelization.