Hi everyone!
This week I've found the React ecosystem rather quiet, but we've got some pretty cool articles to read.
React progressive enhancement is in the spotlight in both Remix and Next.js!
๐ก Subscribe to the official newsletter to receive an email every week!
๐ธ Sponsor
Enterprise Grade APIs for Feeds, Chat, & Video!
Stream is the maker of enterprise-gradeย APIsย andย SDKsย that help product and engineering teams solve two common problems at scale: in-app chat and social activity feeds.
With Stream, developers can integrate any type of messaging or feed experience into their app in a fraction of the time it would take to build these features from scratch. Stream Chat makes it easy for developers to integrate rich, real-time messaging into their applications.
Stream provides robust client-side SDKs for popular frameworks such asย React,ย React-Native, Expo, Flutter, Android, Angular, Compose, Unreal, and iOS.
Unlock enterprise-grade features, functions, and UI components completely free for your startup or side project with the Maker Account.
Try the new React Video tutorial!
โ๏ธ React
The Uphill Battle of Memoization
We want to create high-performance applications, and to do that we use React.memo
, which avoids unnecessary re-renders. But these optimisations break too easily. Dominik shares with us several scenarios that lead to performance degradation, including the use of inlined objects/callbacks, or the use of JSX slots with a props like children
.
I took the opportunity to give my opinion on Twitter: the performance of a React component should be better encapsulated. While we're waiting for the React-Forget compiler, there are a few lesser-known avenues to explore, such as the use of Babel plugins.
Accessible, Typesafe, Progressively Enhanced Modern Web Forms
Kent shows us a few examples of Remix code and how easy it is to implement pending UI and optimistic UI. He recommends using a shared Zod schema to validate forms on the frontend, and extending it on the backend to eventually add additional rules. conform facilitates the use of a Zod schema to validate a FormData
, and seems to be an underrated solution for managing a React form, from the local state to the server.
- ๐ธ Ably Realtime Hackathon - Create a real-time React app, win $19,000 in prizes - from real-time dashboards to collaborative experiences!
- ๐ Next.js PR - Progressive enhancement for form state: Next.js includes a brand-new
useFormState
React core hook (not to be confused withuseFormStatus
), which can be used to manage the feedback/response of Server Actions, even when JavaScript is disabled. - ๐ React core PR - Add Server Context deprecation warning: the secret hook
createServerContext
is deprecated and will be removed. - ๐ Panda CSS Public Roadmap - Container Query, Panda Studio
- ๐ฆ Astro View Transition + persistent React-Three-Fiber model demo
- ๐ฆ Remotion contracting with GitHub - Assembled a team to produce GitHub Unwrapped 2023 videos
- ๐ Sharing State with Islands Architecture: well-illustrated article analysing several possible solutions for getting Islands to communicate in an Astro/React context.
- ๐ Next.js 13 vs Remix: An In-depth case study: exhaustive, well-documented article comparing many Next.js and Remix features side-by-side.
- ๐ React Google Maps: Drawing Tools
- ๐ Docusaurus - Preparing your site for v3 + MDX 2
- ๐ฆ Astro 3.2 - View Transitions improvements
- ๐ฆ Radix Themes 2.0 - New colors, better Tailwind compatibility, many component improvements
- ๐ฆ React Aria - October 2 2023 releases - Client-side routing integration
- ๐ฆ Rustymotion - A Rust-based renderer for Remotion videos
- ๐ฆ Ecctrl - React-Three-Fiber character controller
- ๐ฅ Theo T3 - Facebook Tried Tailwind, Then Built This Instead (styleX)
- ๐๏ธ This Month in React โ September 2023
- ๐ฅ reactjsday (Verona ๐ฎ๐น, Octobre 27) is offering us -10% - code "media_TWIR"
- ๐ฅ React Advanced (London ๐ฌ๐ง, Octobre 20-23) is offering us -10% - code "REACT10"
๐ธ Sponsor
A Non-Cloud Alternative to Google Forms that has it all
If you are looking to set up a robust form management system fully integrated in your IT infrastructure that allows you to retain full control over the data flow, and you donโt want to spend months and thousands of dollars to get it up and running, then SurveyJS is the way to go!
SurveyJS is a product suite of four open-source JavaScript libraries that allow you to create and edit multiple dynamic JSON-based forms in a drag-and-drop form builder, render them in your React app and store sensitive survey data within your in-house infrastructure. You can then render your custom surveys and forms as editable PDF files in a browser and visualize survey results with interactive charts and tables. Learn more now.
๐ฑ React-Native
Custom Apple Settings UI with Expo
Evan points out the few advantages of using the iOS settings screen. It's a pain to implement natively, and the ROI is low, but his Expo Config Plugin simplifies the task. He explains how to toggle an app's sound with a switch, or how to automate the display of your app's software licenses.
- ๐ธ Blitz - Build React Native Apps Faster for iOS, Android, and Web!
- ๐ Expo EAS - Support for XCode 15 and iOS 17
- ๐ Expo Docs - Continuous Native Generation (CNG): presents the idea of generating native platforms on an ongoing basis with Expo Prebuild.
- ๐ฆ create-react-native-library v0.34 - local library support: it's now very easy to generate a local library in React-Native vanilla. Expo supports it too.
- ๐ฆ react-native-unistyles - Level up your React Native StyleSheet, make it cross-platform and scalable
- ๐ฆ react-native-compressor - Compress Image, Video, and Audio before uploading
- ๐ฆ Expo-Image 1.3.4 - Fix libwepb security issue
- ๐ฆ React-Native-Skia v0.1.211 beta - Animated images
- ๐ฅ Why did your app crash? How to use Logcat & macOS Console to debug
- ๐ฅ Why Airbnb was wrong to ditch React Native in 2018
- ๐ React Native Radio 276 - Announcing Ignite v9
๐ Other
- ๐ Updates from the 98th TC39 meeting - Resizable ArrayBuffer, ShadowRealm, RegEx escape...
- ๐ The Absolute Minimum Every Software Developer Must Know About Unicode in 2023
- ๐ CSS Subgrid - Now available in all browsers thanks to Chrome 117
- ๐ CSS Nesting and the Cascade
- ๐ New to the web platform in September
- ๐ฆ TypeScript 5.3 Beta - Import Attributes, "resolution-mode" for type imports ...
- ๐ฆ string-ts - Strongly typed string functions
- ๐ฆ every-ts - A utility to build and bisect any version of TypeScript
- ๐ฆ pattycake - Zero-runtime pattern matching - Optimizing compiler for ts-pattern
- ๐ฆ Node.js 20.8 - Notable performance improvements
- ๐ฆ Vitest 1.0 beta
๐คญ Fun
See ya! ๐