Hi everyone!
A week with a lot of good and varied React articles. It's calm on the React-Native side.
The ViteConf has just started, there will probably be some announcements for next week ;)
๐ก Check this newsletter on Twitter - visual format ๐จ
๐ธ Sponsor
Have you already tried Storyblok? It's the headless CMS with a Visual Editor designed for both developers and marketers!
Use Storyblok React SDK to quickly build reusable components and fetch the content to create your React, Next.js, Remix, or even React-Native applications, websites or eCommerces.
Check out Technology Hub and find it out yourself!
โ๏ธ React
Vercel OG Image Generation: Fast, dynamic social card images at the Edge
Vercel presents a new very efficient solution to generate dynamic social cards in Vercel Edge Functions. Practical: it is possible to use JSX, React components (stateless) and Tailwind without additional config. I recommend this thread explaining how it all works, very interesting! They even use Yoga, the layout engine from React-Native ๐คญ
The future of rendering in React
Well-illustrated article that presents the rendering patterns of React 18 and above. You will find information about how SSR streaming works, Suspense, React lazy, feature flags implementation with Server Components...
Overcoming Popular Issues With React Projects
Encourages to decouple our JavaScript apps from the framework (React or other). Promotes a return to more simplicity. Some hot takes that will probably not agree with.
Tutorial with a particularly interesting section that explains how to automate the creation of Storytook controls by reusing the TypeScript types of the underlying UI library. Very useful when forwarding props. Even supports helpers like Pick
and Omit
.
- ๐ค Sathya Gunasekaran (ex V8) joins the React core team, most likely to work on the React-Forget compiler
- ๐ฅ Next.js Conf 2022 speakers
- ๐ Beta docs: React.Children + useId + createElement + useImperativeHandle
- ๐ Next.js on Vercel docs improvements
- ๐ถ React and Next.js is DEAD โ Something New is (Finally) Replacing It (For Good): explains how the Qwik framework presents a superior model to React. Click-bait title, but really interesting article.
- ๐ Build a React Custom Renderer - Part 1: new series that shows how to create a React renderer. For now it's quite easy to follow, but it does not yet support updates.
- ๐ Remix, React, and State: gives a mental model for Remix that reconciles the React state in an end-to-end / fullstack way.
- ๐ How to write your own state management library: useful to understand how a state management library works, and how to implement a selector system.
- ๐ How to fetch data in React with performance in mind: explains why data-fetching in React is not as simple as it seems. performance is related to UX/perception. Explain waterfalls, browser request limits...
- ๐ Avoid impossible UI states with React, Typescript and xState: TypeScript's discriminated union-types avoid impossible states, and XState avoids impossible state transitions.
- ๐ I changed my mind about writing new JavaScript frameworks: there are only 4 frameworks that support both SSG + SSR: Eleventy, Next.js, Gatsby, Redwood.
- ๐ How to Use Sandpack for Code Demos: article updated with the latest Sandpack features, this Codesandbox tool to create live code playgrounds. Used by React beta docs, Josh Comeau...
- ๐ฆ Tremor 1.0: a library of React UI components to create dashboard analytics.
- ๐ฆ W3C Trusted Types + React + XSS: a new HTML proposal could provide a native solution to prevent XSS vulnerabilities, and perhaps eventually remove the need for
dangerouslySetInnerHTML
?
๐ธ Sponsor
React Brussels - IRL & Online React conference - 14 Oct 2022
React Brussels is back for its first Hybrid edition to ever happen in the โค๏ธof Europe. Talks about the trendiest tech and skills (Playwright, WebVR, useEffect, Data Fetching, Remix โฆ) will be on agenda; from some of the brightest minds in the React arena; namely :
- Tejas Kumar: DevRel Director - Xata
- Kathleen McMahon: Sr Design System Eng - Northwestern Mutual
- David Khourshid: Founder - Stately
- Shaundai Person: Sr Software Eng - Netflix
- Debbie O'Brien: Sr Program Manager - Microsoft
Afterparty, Contests, Job Opportunities, Belgian ๐บ, Swag, City Tour ... all is there to last long beyond the conference itself !
IRL tickets are unfortunately sold-out ! You can still be part of the fun though! Get your 30โฌ online ticket ๐ ๐
๐ฑ React-Native
- ๐ฅ Can It Be Done In React-Native - Season 5 Trailer
- ๐ง Expo Router 0.0.26: useHref / copy link + Splash Screen Orchestration
- ๐ React-Native docs fully bilingual - Java + Kotlin
- ๐จ Reanimated - useAnimatedKeyboard() demo
- ๐ฆ react-native-test-app 2.0: Expo Config plugins support
- ๐ฆ react-native-quick-sqlite 5.0: promise API
๐งโ๐ป Jobs
๐งโ๐ผ Product Engineer at Causal, Remote/London/NY, $150-250k
Causal is a Series A Startup (backed by Coatue/Accel) building an all-in-one tool for working with numbers and visualizing data. We're looking for strong React engineers who can solve difficult UX/performance challenges.
๐งโ๐ผ 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
- Playwright Locators APIs inspired by Testing Library
- Deno - The Future of the Web is on the Edge
- New patterns for amazing apps
- Optimize long tasks
- Optimizing Interaction to Next Paint (INP)
- Cloudflare Pages gets even faster with Early Hints
- Codesandbox - A Unified CodeSandbox Experience
- Safari Technology Preview 155
- Axios 1.0