π¨ #168: TanStack, useMemo, RSC, preload, flushSync, shadcn-ui, MDX, Storybook, StyleX, TWC, Tokenami, Catalyst, rsc-cache, WishList, VisionOS, Hermes, release-profiler...
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.
π‘ Check this newsletter on Twitter - visual format π¨
To support me:
- π Recommend the newsletter to your friends: it really helps!
- πΈ Sponsor the newsletter
- 𧡠Retweet the latest Twitter thread
Don't miss the next email!
πΈ Sponsorβ
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.
βοΈ Reactβ
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
- π¦ Million.js joins Y Combinator
- π 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).
- π How to make Storybook 2-4x faster - v7.6 comes with perf improvement options, enabled by default in v8.0
- π Next.js 14 Parallel Routes: Simultaneously render multiple pages within the same layout (useful for dashboards).
- π Next.js 14 Intercepting Routes
- π Understanding Reactβs useFormState and useFormStatus Hooks
- π Diving into Server Actions in Next.js 14
- π¦ 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.
- π¦ shadcn-ui 0.5 - new components (Carousel, Drawer, Pagination, Resizable, Sonner) and CLI improvements
- π¦ StyleX 0.4.1 - ESLint and Rollup plugin improvements, autocomplete, performance, reduced runtime size, support for CSS layers...
- π¦ Storybook 8.0.0 alpha 4 - no react peer dependency anymore
- π¦ TWC - Create reusable Tailwind CSS + React components
- π¦ 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
Don't miss the next email!
πΈ Sponsorβ
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
π± React-Nativeβ
- πΈ 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
- π jsi-rs - Write ultra fast React Native modules in Rust
- π¦ Expo SDK 50 optimizing bundle size with platform shaking
- π¦ Chain React 2024 announced for July 17-19
- π¦ Top React Native Tweets of 2023
- π 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. - π How to Properly Read Xcode Error
- π 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.
- π¦ react-native-macos 0.73.1
- π¦ react-native-windows 0.73.2
- π¦ 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
- ποΈ RNR 284 - React Native Rewind - 2023 in Review
- ποΈ Rocket Ship 23 - Why you should use React Native in 2024
π Otherβ
- π TypeScript 5.4 PR - Add auto-import for the package.json imports field
- π Frontend predictions for 2024
- π JavaScript Frameworks - Heading into 2024
- π Alternate Futures for βWeb Componentsβ
- π Why JavaScript promises aren't technically monads
- π Shadow DOM and the problem of encapsulation
- π¦ ESLint v9.0.0-alpha.0
- π¦ quick-lint-js. 3.0 - TypeScript bug finder
π€ Funβ
See ya! π
Don't miss the next email!