This Week In React #168: TanStack, useMemo, RSC, preload, flushSync, shadcn-ui, MDX, Storybook, StyleX, TWC, Tokenami, Catalyst, rsc-cache, WishList..

Search for a command to run...

No comments yet. Be the first to comment.
Hi everyone! Krzysztof and Tomasz from Software Mansion here π It's been a fairly calm week for the React ecosystem, but not for the React Native world. Meta has made an exciting announcement about the release of React Native 0.80, where they've dec...

Hi everyone! This week is relatively calm in the React ecosystem, but we still have various interesting blog posts and releases. Maybe we'll soon get some exciting news from React Summit that's about on Friday! On the React Native side, all the devs ...

Hi everyone! I thought I was on schedule for today's issue, until I realized that Dan Abramov wrote 4 RSC blog posts this week π. We also get great releases, including Storybook, LiveStore, Base UI, and the Lingo Compiler is a quite exciting innovat...

Hi everyone! Cyril and Matthieu from Theodo Apps here π. This week, the Remix team announced some big news. Microsoft has also made it easier to try out TypeScript Go rewriting. In the React Native world, there were a few minor but interesting relea...

Hi everyone! This week, we're delighted to finally have a preview of React Server Components support in React Router. I've also found some very interesting PRs on the React repo, and give you a glimpse of what could be coming soon! The React Native e...

Hi everyone!
Merry Christmas and Happy New Year! π₯
The newsletter is back for another year. Despite the holiday season we still had some interesting news, notably regarding the TanStack. Developers probably took this opportunity to work on their own open-source side projects π!
Don't forget to answer the State of React Native 2023 survey, it's your last chance!
Once again, this issue now has 2 authors Benedikt is helping me.
I hope to find time to write a full 2023 retrospective of the newsletter. Until then, if you are curious, I write monthly reports on my Indie Hackers page for 2 years now.
π‘ Subscribe to the official newsletter to receive an email every week!
A newsletter helping flex your product muscle
Product for Engineers is PostHogβs newsletter dedicated to helping engineers improve their product skills. Learn what questions to ask users, how to build new features users love, and the path to product market fit. Subscribe for free to get curated advice on building great products, lessons (and mistakes) from building PostHog, and deep dives into the strategies of top startups.
The highly anticipated TanStack Router launched as stable 1.0 with a nice π¦ trailer, just in time for Christmas. This new router pushes the boundary of what is possible in terms of type-safety, url state management (search params) and caching, among other things.
The SSR guide reference a @tanstack/react-start package, probably a teaser for an upcoming π¦ TanStack Start framework
Other recent TanStack packages that you might have missed:
π¦ TanStack Config - Tool for publishing and maintaining high-quality JavaScript packages
π¦ TanStack Store - Framework agnostic, type-safe store with reactive framework adapters
πΈ From Dreamweaver to JSX: The Evolution of Visual Dev Tools for the Web
π React Docs PR - React-DOM static resource loading functions
π Next.js PR - Next.js is exploring moving to Lightning CSS
π Remix PR - SPA Mode
π¦ useMemo to become a better version of context selectors: It turns out selectors do not compose well, and the plan is to improve useMemo to kind of act like a selector!
π¦ SkipRenderOnClient - interesting trick to optimize hydration performance
π React Server Components: the Good, the Bad, and the Ugly: Critical, but well-informed take on the status quo of using RSC.
π Thoughts on Remix: Balanced view on Remix - where it came from, their philosophy and how it compares to Next.js.
π More Than You Need to Know About ReactDOM.ΒflushSync: Detailed and interactive look at React-DOM flushSync() method, a rarely used but sometimes crucial method enabling you to opt-out of React state update batching.
π Remix + MDX - How this site is built: Vite features and plugins work together to power Remix + MDX.
π The View Transition API: A New Way to Animate Page Transitions: Also shows how to use it in React Router and Remix.
π What should we ship?: Detailed blog post about the vercel.com relaunch.
π Future of Storybook in 2024: The themes for Storybook in 2024 will be application development (as opposed to isolated component development), enhanced support for non-React frameworks, and improved story generation (using AI).
π Next.js 14 Parallel Routes: Simultaneously render multiple pages within the same layout (useful for dashboards).
π Understanding Reactβs useFormState and useFormStatus Hooks
π¦ rsc-cache - cache expensive RSCs, with Next.js integration
π¦ Catalyst - Modern UI kit for React: New official React UI kit from the Tailwind team. It's a paid product requiring a Tailwind UI license. There's also a free Headless UI update, now in v2.0 alpha.
π¦ Tokenami - Atomic CSS in the style attribute: Modern type-safe styling solution with theming, responsive variant support. Supports React and Solid.
π¦ Storybook 8.0.0 alpha 4 - no react peer dependency anymore
π¦ MDXTS - Build interactive, type-safe content and documentation in MDX, TypeScript, and React
π¦ Plate - Rich-text editor framework for React, customizable, including a plugin system
π¦ next-route-handler-pipe - Function pipelines for Next.js route handlers
ShipFast - Ship your startup in days, not weeks
The Next.js boilerplate with all you need to build your SaaS, AI tool, or any other web app and make your first $ online fast.
App Router or Page Router
JavaScript or TypeScript
Money-back guarantee, refundable within 7 days
πΈ Galaxies.dev - Master React Native & Save 25% on PRO with code GALAXIES24
π State of React Native 2023 survey - Last-call, closing on Friday 5
π RFC: Moving away from Obj-C on Apple platforms: Moving to Swift will only start after the move to the New Architecture has been completed.
π hermes-jsi-demos - Use Hermes with JSI on desktop without any frameworks
π¦ Expo SDK 50 optimizing bundle size with platform shaking
π WishList Release scrapped: After a year of development, Margelo decided not to release their library aimed at solving performance problems for lists in React Native.
π Bringing React Native libraries to Apple Vision Pro: the new out-of-tree VisionOS platform will support JS libs automatically. Most native libs will simply need to add a visionos platform to the podspec.
π JavaScript Achieves Breakthrough Performance with Static Hermes
π¦ react-native-release-profiler - passively profile JS/Hermes in production and release builds
π¦ expo-video-metadata: Retrieve information such as duration, dimensions, orientation, and codec for local and remote video files.
π¦ Bootstrap a universal File-based Expo app with Tailwind styles: New create-expo-app template using Expo Router v3 and NativeWind v4.
π React Native Show 32 - React Native for Apple Vision Pro and visionOS
ποΈ Rocket Ship 23 - Why you should use React Native in 2024
See ya! π