π¨ #119: React OG Images, Tremor, Storybook, Decoupling, Rendering, Data-Fetching, Remix, Qwik, TypeScript, Playwright...
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 π¨
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β
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
?
Don't miss the next email!
πΈ 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
π€ Funβ
Don't miss the next email!