This Week In React #177: Skia, Pigment, Mist, Storybook, shadcn/ui, Hydration Diff, Geiger, MDXTS, Remotion, WinterJS, Astro, Rolldown, Tailwind...

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!
This week it's particularly exciting to see React Native Skia reaching 1.0. But we also have many other interesting releases to look at: Pigment, Storybook, Tailwind, Rolldown, MDXTS...
There were also some fun ones, such as Mist and Geist. I'm really curious to know what you think of them. Would you use these?
I'm trying to monitor more closely weak signals (PRs, RFCs and tweets), do you find this kind of news valuable?
๐ก Subscribe to the official newsletter to receive an email every week!
In-App Subscriptions Made Easy
RevenueCat gives you everything you need to monetize, analyze, and grow your app business. Effortlessly control customer access and entitlements, manage data, and experiment with pricing. See why over 30,000 apps trust RevenueCat to power their in-app purchase infrastructure.
The MUI team is working on Pigment, their own zero-runtime CSS-in-JS to replace Emotion in Material UI v6. The first versions have been published to npm, including a Next.js withPigment() plugin. Olivier explains in a ๐ฆ tweet the motivations to create a new solution, and how it compares to existing ones (Panda, StyleX, Tailwind). Unlike all others, this one will ease the adoption for existing Emotion and Styled-Components users.
This new major version of Storybook comes with many improvements, including:
Experimental React Server Components support
Faster React control auto-generation (through react-docgen)
Faster static builds in "test mode" (CLI flag --test)
Built-in visual testing (through Chromatic)
Re-architected Vite support, Vitest, Vite 5
Improved mobile/desktop UI/UX
๐ React Core PR - Add Diffs to Hydration Warnings: The React team is working on improving the React hydration error messages by displaying a diff. You can get a ๐ฆ preview from the unit tests.
๐ React 19 - its not fine: React 19 currently ๐ฆ breaks the โits-fineโ package, notably used to bridge React context from one renderer to another. It seems the React team is investigating bringing first-class support for this feature, although it looks like a challenging problem to solve.
๐ Next.js PR merged - add Lightning CSS: A new experimental opt-in CSS loader should be available soon.
๐ Remix RFC - Action Functions: new RFC suggests to implement React actions functions and reduce indirection/boilerplate. It should be implemented first on the client-side, and later add support for RPC โuse serverโ directive.
๐ The Framework Field Guide: A polished three-part series of books that teaches you Angular, React and Vue all at once, helping you figure out the differences between frameworks, and including many interactive examples. The first part "Fundamentals" is available.
๐ React Paris - 22 March: Next week I'll go to React Paris, and hope to meet some of you there. The conference is sold-out but you can still watch it online with a -20% discount.
๐ React Compiler & React 19 - forget about memoization soon?: Great overview of what we know about the upcoming compiler, its release timeframe and what kind of React code we might get rid of.
๐ Navigating the future of frontend: Well-documented article to better understand the current direction of the frontend ecosystem, including React with its Server Components.
๐ Component Testing with SafeTest vs. Cypress vs. WebdriverIO: The newly released Netflix SafeTest framework was recently roasted by competitors in 2 detailed articles, illustrated with React test examples.
๐ A Next.js package for managing third-party libraries: Presents the work of the Chrome Aurora team, notably the @next/third-parties package that enables you to efficiently load third-party scripts and embeds in a Next.js project
๐ Implicit Assertions: Explains why a React render smoke test remains useful.
๐ How To Transform ReactJS Animation into Video - The Lightweight Version of Remotion
๐ Progressively Enhance Handling Your Forms With React.js Server Actions
๐ Best Practices for Writing Tests with React Testing Library
๐ฆ WinterJS 1.0 - WinterCG-compatible JS runtime built on Rust and SpiderMonkey: this new runtime claims to be the fastest, and can now run Next.js. A Hacker News RSC demo is available, and they plan to migrate their own Next.js frontend to it soon.
๐ฆ React Geiger: Itโs like the audio version of WhyDidYouRender, emitting little audio farts whenever React re-renders. Thatโs a fun idea, but could actually be useful too.
๐ฆ MistCSS - Write React components using CSS only: A crazy JS-from-CSS tool that permits to generate React components directly from CSS files, including Tailwind support ๐คช.
๐ฆ Shadcn/ui - March 2024 Update - New components: Breadcrumb, One-Time-Password Input
๐ฆ MDXTS (Beta) - The Content & Documentation SDK for React: โIt's sort of a mashup of Contentlayer + Storybookโ
๐ฆ Astro 4.5 - Dev Audit UI, View Transition improvements, Multi-CDN, Shiki 1.0โฆ
๐ฆ BlockNote 0.12 - Block-Based rich text editor - New website and features
๐ฆ next-cache-toolbar - A toolbar that helps to identify data cache entries
๐ฅ Jack Herrington - Forms Management with Next.js App Router
๐๏ธ This Month in React - February 2024 - React 19 (but more details), Apple tries to kill PWAs
Refine - Open source Retool Alternative
The sweet spot between the low code and traditional development for CRUD-heavy applications.
As an open-source React meta-framework designed for Enterprise applications, Refine offers a headless solution ideal for tasks like admin panels, dashboards, and internal tools.
While low-code tools may offer initial promise, they often fall short in handling complex scenarios due to scalability issues, limited customization options, and the risk of vendor lock-in.
Refine enables teams to rapidly develop production-ready apps while maintaining flexibility.
This section is now co-authored with Benedikt. Feel free to send us your comments by email or on Twitter!
๐ฅ William Candillon - Time to Fly - React Native Skia 1.0
Exciting major release of React Native Skia, with an inspiring launch video! This library was first released back in 2021 by William Candillon and Christian Falch and has been heavily supported by Shopify for a long time. Now, theyโve finally released a 1.0 and itโs packed with improvements and new features: Thanks to a new Paragraph API, Skia can now render rich text layouts, combining system fonts and custom fonts. Animations Hooks make it easier to build performant animations with the already existing RN Reanimated and Gesture Handler integration. Another highlight for me personally: RN Skia now also supports the web as a platform, via a package called canvaskit-js!
๐ฆ React Navigation 7 will support animations for Bottom Tabs: Number of alpha releases has picked up significantly over the last weeks, so I guess the release is coming close?
๐ React Native Docs - About the New Architecture: We keep hearing โNew Architectureโ everywhere, and it will be the new default with RN 0.75. This new docs section explains what exactly this new architecture encompasses.
๐ New docs - Drag Drop Content View: You mightโve seen this library in last weekโs newsletter, now it has shiny new docs.
๐ Learn Once, Hack Everywhere: Interesting glimpse into reverse engineering mobile apps.
๐ Why you donโt need Flipper in your React Native app โฆ and how to get by without it
๐ Consistently Improve App Performance With DMAIC and Reassure
๐ Fine-tuning React Performance: A Subtle Insider Tip from a TV App
๐ฆ react-native 0.73.6
๐ฆ faster-image: New library for fast image rendering, wraps Nuke on iOS and Coil on Android.
๐ฆ vision-camera-resize-plugin 2.1.0 - with two new features "mirror" and "rotate"
๐ฆ react-native-graph 1.1.0 now uses REA values for updating on the UI Thread
๐ฆ Obytes Starter - RN starter app now with Expo 50, Expo Router, and NativeWind 4
๐ฅ Simon Grimm - Role Based Navigation in React Native with Expo Router
๐๏ธ Rocket Ship 33 - NativeWind & React Native Styling with Mark Lawlor
๐ Supercharge compression efficiency with shared dictionaries
๐ Interaction to Next Paint is officially a Core Web Vital
๐ฆ TypeScript 5.4 - NoInfer, groupBy, improved narrowing in closures
๐ฆ Biome v1.6 - Partial support for Astro, Svelte and Vue files
๐ฆ Rolldown - Fast Rust bundler for JavaScript with Rollup-compatible API
๐ฆ Speedometer 3.0 - The Best Way Yet to Measure Browser Performance
See ya! ๐