ReactJsNews – Telegram
ReactJsNews
76 subscribers
940 links
The latest React news directly in your Telegram
Download Telegram
👀 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.
📣 Appwrite Sites: The open-source Vercel alternative: The AppWrite cloud platform can now deploy full-stack React meta-frameworks. It positions itself as a direct Vercel competitor, although there are differences (containers vs serverless). It’s a paid cloud product, but you can also self-host it for free.
👍1
📜 Concurrent Rendering: Free interactive lesson on React transitions from the ui.dev course.
📜 Correctly infers from initial props: You don’t need to explicitly type your context value and can leverage type inference instead.
📜 Making Next.js Navigation Fast af: Using React Router within your Next.js app works, but I doubt it’s a good idea, doesn’t permit you to use RSCs, and is likely to cause trouble if you use different routers on different pages.
📦 Waku 0.23 - Fine-grained component render modes: Makes it possible to statically pre-render parts of a dynamic page. I find the API a bit confusing, but the idea looks cool and simpler than Next.js Partial Pre-Rendering.
👍1