Hi everyone!
Looks like a lot of devs are already on vacation π. On my side I will also skip some editions this summer to rest.
This week, we have a good variety of React and React-Native content. A lot of very positive feedback from the community onΒ Bun!
On my side,Β DocusaurusΒ 2.0 should be released soon, after 4 years of alpha/beta. I hope you will help me to make the launch a success! I'm thinking of sending you a different email for the occasion, to better present this tool I'm working on for Facebook.
πΒ Support the newsletter:
- πΒ Recommend it to your friends: it really helps!
- πΈΒ Sponsor This Week In React
- πΒ Write testimonials on Twitter
- π§΅Β Retweet the latest Twitter thread
- π¨Β Reply to thisΒ email:Β feedback is welcome
- π₯ Follow onΒ LinkedIn
If you like this newsletter, subscribe in priority there:
- π¬π§Β ThisWeekInReact.com
- π«π·Β ReactHebdo.fr
React
Josh Comeau is preparing his next course on React. He proposes to go back to the basics of JavaScript, and thus allow a better understanding of how JSX works, which only works with expressions. On the same topic, I would love to see theΒ do-expressionsΒ proposal progress π.
How to build connected components in Storybook
An official Storybook article that explains well all you can do with decorators: add a layout, global providers, mock a Redux store or requests... It can help to add "connected" components to your Storybook that otherwise can't be rendered due to context dependencies.
How I Estimate NPM Package Market Share (and how Redux usage compares to other libraries)
Mark Erikson (Redux) explains how he analyzes npm package usage trends, based on various more or less reliable tools. Download stats are often related to CI builds. He uses React state managers as an example. He now estimates Redux / React usage at 33% (previously 45-50%)
Actionless and Stateless Reducers in React
useReducer() is not reserved for complex cases: it can also be used for very simple state machines, like changing a boolean from false to true.
Extras:
- πΒ Next.js: open external links in a New Tab: it can be interesting to create your own Link abstraction on top of the underlying framework to add extra behavior
- πΒ The Unlocked Possibilities of the :has() Selector: CSS feature. Interesting comparison with React rendering at the end.
- πΒ Atomic Forms in React: presents a bit Jotai-Form and the difference with more traditional approaches like Formik.
- πΒ Create a simple cookie with Remix: shows that the use of cookie in Remix is relatively simple, and close to the HTTP protocol
- πΒ Yelp - Migrating from Styleguidist to Storybook
- πΒ Fresh: The Next-Gen JavaScript Web Framework
- πΒ Rendering long lists using virtualization with React
- πΒ Component Code Coverage in Cypress v10
- π§βπ¨Β Remix + Bun demo
- π§βπ¨Β React-on-the-edge: Vercel demo that shows how to use React SSR (without Next.js) with the Edge Runtime. With or without streaming.
- π¦Β Remix loader type inference: PR merged to facilitate typesafe usage of the useLoaderData() hook π
- π¦Β Bun + React SSR: significant performance gains
- π¦Β RemixBlocks: I find the idea interesting: nested routes Remix are full-stack which makes them a good candidate for copy/paste, quite similar to Tailwind.
- π¦Β react-obsidian: dependency injection for React
- π¦Β remix-bossa-nova-stack
- π¦Β Preact 10.9
- π¦Β Next.js 12.2.1
- π£Β Vercel: Hydrogen can now be deployed with 0 config
πΈ Sponsors
π‘Β How to sponsor this newsletter
Storetasker: Freelance Shopify Devs network
Hey! This is Tim from Storetasker. We run the best Shopify dev freelance network. I would love for you to apply if you enjoy building Shopify sites or are excited about leveraging Shopify'sΒ cutting-edge React frameworkΒ for building custom storefronts:Β Hydrogen.
Accepted devs on the network work on a freelance basis, and we present them with great opportunities to work on some of the best Shopify brands (Alo Yoga, Chubbies, JUDY & many many more).Β
The great thing about Storetasker is that devs aren't in competition with each other - they just pick up the jobs that match their interests. Beyond that - it's a very tight-knit community.Β
Feel free to apply directly via thisΒ linkΒ to join.
TechTree - Introducing This Week in React Bounty Board
TechTree is building the firstΒ social-economic platform for developersΒ - a place to help you unlock the real value of your knowledge and network!
The first major feature on TechTree is Bounties, a tool to help youΒ earn money by referring your friendsΒ to open roles at top VC backed tech startups or find a job that might be right for you!
To help show you around, I have gone ahead and created my very ownΒ Bounty boardΒ -Β a selection of remote, React related roles for you to apply to or refer your network to. There has been over $300k worth of Bounties claimed on TechTree so far!
Looking to hire React developers? You can post Bounties of your own to be featured on my Bounty board! Read more and get startedΒ here.
React-Native
- πΒ Expo: sunsetting the CLI Web UI: the CLI web UI will disappear. Not a big deal, it was limited anyway compared to the CLI features.
- π§βπ¨Β useAnimatedSentor travel cards parallax: demo with a very nice visual result π
- π¦Β react-native-keyboard-controller 1.0: synchronizes keyboard visibility with animated values π
- π¦Β vision-camera-plugin-builder: reduces the boilerplate for the creation of a vision camera plugin.
- π¦Β React-Native MacOS 0.68
- π₯Β It's After Effects, but in Remotion: William Candillon shows how React-Native-Skia runs on the web with Remotion. You can follow and apply the After Effect tutorials, not written for us at first.
- πΒ FlatList vs FlashList profiling
- π¦Β Reanimated now supports V8
- π¦Β Expo EAS + App Store Connect v2
- π¦Β BottomSheet + FlashList integration
Other
- Agenda for the 91st meeting of Ecma TC39
- New Node.js security releases
- Simplify your full-stack applications with XState
- The many faces of themeable design systems
- Avoiding layout shifts: aspect-ratio vs width & height attributes
- Fireship + Bun: JavaScript just got way faster
- Bao.js: A fast, minimalist web framework for theΒ Bun JavaScript runtime.
- The Future of CSS: Variable Units, powered by Custom Properties
- Parcel CSS 1.11
- Announcing support for WASI on Cloudflare Workers
- Why Your Cached JavaScript Is Still Slow and Incurs Performance Overhead
Top comments (0)