Hi everyone!
We just passed a milestone: you are now over 20,000 subscribers! π₯³οΈ
Thanks to all of you for giving me your attention every week and for helping me grow this project! If you want to give me a hand: word-of-mouth works well. I'm setting up a referral program that will soon allow me to know my best ambassadors, and to thank or reward them.
Having a critical mass of readers is important: it allows to find sponsors and compensate for the fact that I spend 50% of my time on it. After 3 years of effort, I've finally reached sustainability: it will give me the freedom to test new ideas without taking too many risks.
Otherwise, this week is marked by the release of Next.js 13.3 and Storybook 7.0. React Visualized is a very nice resource for beginners. I discovered Modern.js. Some good articles about React, Remix and Chakra UI. Calm on React-Native side.
For React-Native developers, don't miss the App.js conference in Krakow on May 10-12. It was a very good experience for me last year π. They offer us -20% on workshops.
π‘ Subscribe to the official newsletter to receive an email every week!
πΈ Sponsor
React-admin - The Open-Source Framework for B2B apps
Single-Page-Apps are still the best choice to create admin panels, B2B apps, and ERP systems on top of REST/GraphQL APIs. React-admin is the open-source framework of reference for building SPAs.
React-admin offers a library of 150+ business-oriented components. It's not a UI kit: it leverages the best UI kit for React, MUI. React-admin boosts developer productivity by assembling the best-in-class libraries, managing all the repetitive stuff you shouldnβt have to deal with.
Its strongest point? The best developer experience you'll ever have, backed by an awesome documentation and a vibrant community. And it only takes 30 minutes to get started π
React-admin has been actively maintained for 5 years, and has already convinced more than 20,000 developers worldwide. Come try it, it is free, forever! π
βοΈ React
Some very nice new features in this new Next.js release. The new App Router will soon be considered as stable.
- File-Based Metadata API: new file system conventions to generate sitemaps, robots, favicons... See also this visual thread.
- Dynamic Open Graph Images: integration of
@vercel/og
and Satori directly in Next.js to generate social cards via JSX and CSS/Tailwind. - Static Export: Next.js can run Server Components at build time and produce a static export of your app that does not require a server runtime.
- Parallel Routes: the layout component can define multiple slots that will be filled by different pages.
- Interception Routes: allows to implement "Instagram" type routing patterns, a photo can be opened in a modal or in full screen depending on where you come from.
- Many other improvements.
A very nice visual and interactive resource to discover React. To share with beginner React devs within your team.
- π Modern.js: ByteDance devs don't only offer rspack, but also a complete React meta-framework, and a whole ecosystem of tools. Keep an eye on this!
- π Next.js RFC -
next/third-parties
: the goal is to create wrappers on top ofnext/script
to facilitate the integration of popular libraries like Google Analytics. - π Next.js PR - Add Zod and router state validation
- π Reselect PR - Add experimental new memoizers: autotrack, weakmap, and signalis
- π Storybook 7.0: the blog post has just been published! Big release that we already talked about several times.
- π The future of Chakra UI: Chakra UI wants to switch to zero-runtime CSS-in-JS to be compatible with Server Components. Aims to be a universal library with a good DX. They are creating Panda for CSS-in-JS, and Ark to help with the integration of agnostic Zag.js state machines.
- π Fighting inter-component HTML bloat: a good article that advises to avoid creating useless DOM wrapper elements in a React context. Suggests some interesting solutions that I didn't know, like Radix
asChild
. - π Server-side render dates across timezones with Remix: cookie-based solution to solve React hydration issues related to a different timezone between client and SSR.
- π Framework popularity on Netlify: stats on the use of many React frameworks at Netlify. Glad to see Docusaurus there!
- π Generate open graph social preview images with Remix: as
@vercel/og
only runs on Vercel, this solution gives a similar result using Satori and svg2img. - π Why & How We Retired Elm at Culture Amp: feedback on the choice to use Elm or React over time.
- π The Most Common Mistakes When Using React
- π Improving React Testing Library Tests
- π NextJS - SPA or MPA?
- π¦ React Aria Components alpha: to facilitate the use of React-Aria and other React-Aria + React-Spectrum updates.
- π¦ Astro 2.2:
assetPrefix
to use a CDN and changes on theimage()
helper for the collections schema. - π¦ Next-Auth v4.22: support Route Handlers support.
- π¦ next-seo v6: recommande d'utiliser les nouvelles API Next.js avec le App Router.
- π¦ Deno SaaS Kit: official Deno boilerplate to create SaaS, based on Fresh and Preact.
- π₯ Secret React Server Component Patterns They Don't Want You To Know: interesting for those who want to know more about Wakuwork and its RSC capabilities not present in Next.js 13.
- π₯ Why React breaks your app β on purpose: explains why React renders the app twice with Strict Mode.
- π₯ React Server Components without NextJS - A 1 minute guide: great short RSC overview.
πΈ Sponsor
Tina.io is a headless CMS for Markdown-powered sites
- Editing UI for your Markdown files
- UI for MDX components
- Supports static (SSG) and server-side rendering (SSR)
- Option for visual editing (live-preview)
- Build with reusable blocks
Test a starter site
- Docusaurus (Github)
- Next.js + Tailwind with visual editing (Github)
Or run Β npx create-tina-app@latest
Β then visit localhost:3000/admin
Watch the 4-min demo video
π± React-Native
- π Managing environment variables securely in React Native
- π Expo - M1/M2 Migration Timeline for EAS Build
- π The New Architecture Performance Benchmarks: the new architecture is just slightly faster than the old one on this synthetic benchmark. Note: performance is not the only reason to adopt the new architecture. Some performance issues fixed on v0.72.
- π Soon: Environment Variables in Expo
- π Expo-MDX supports global components
- π¦ React-Native 0.72.0-RC.1
- π¦ react-native-keyboard-controller 1.5: interactive keyboard, ability to dismiss the keyboard with a gesture.
- π¦ react-native-quick-sqlite: package now maintained by Margelo.
- π¦ "Hermes recently surpassed JavaScriptCore as the most popular JavaScript engine in EAS Build!"
- π₯ How to Create an Expo App with React-Native Firebase
- π₯ freeCodeCamp React-Native Course
- π₯ App.js (Krakow, May 10-12) is offering us -20% on workshops (code "ThisWeekinReact20").
- π₯ Chain React (Portland, May 18-19) is offering us -10% on entries (code "thisweekinreact").
π§βπ» Jobs
π§βπΌ Passionfroot - Senior Full-stack Engineer (Remix) - β¬160k+, Berlin/remote
Passionfroot's mission is to empower the independent businesses of tomorrow via YouTube, Podcasts, Social Media, and Newsletters. Join us in building a tool that will empower creators globally to build scalable, sustainable businesses.
π§βπΌ Callstack - Senior React Native Developer - Fully Remote, PLN 21-32k net on B2B, monthly
Do you want to work on the world's most used apps? Would you like to co-create the React Native technology? Join the Callstack team of React & React Native leaders. Check our website for more details. We are looking forward to seeing your application - show us what you've got!
π§βπΌ G2i - 100% Remote React Native Jobs
We have several roles open for developers focused on React Native! Pay is ~160k plus 10% bonus. You must have production experience with RN and be based in the US. DM @gabe_g2i to learn more and don't forget to mention This Week in React.
π Other
- JSPM CLI Relaunch: package management betting on import maps.
- lazyrepo - Caching task runner for npm/pnpm/yarn monorepos
- AWS Lambda introduces response payload streaming
- Vercel - Improved Node.js compatibility for Edge Middleware and Edge Functions
- W3C - First public draft - Badging API
- Node.js 19.9
- Vitest 0.30
π€ Fun
See ya! π