Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 19, 2022 07:13 pm GMT

This Week In React 113: React source code, SOLID, Remix, Docusaurus, FP, Remotion, Rapier, Hermes, RN at Airbnb...

Hi everyone!

The newsletter now enterssummer mode: 1 edition out of 2. I hope you enjoy your vacations .

We willlaunch Docusaurus 2.0very soon (2.0-rc.1published). I will send you a special edition for the occasion. It will be the occasion to present you better this project I work on since 2+ years with Facebook. Docusaurus 2.0 is not the most famous React framework, but it remainsvery useddespite being in beta: twice as much as Remix or Redwood, and is progressively catching up with Gatsby. I hope I can count on you for theProductHunt launch.

This week, I want to highlighttRPCto make remote calls (client/server or even server/server). Typical end-to-end solution, agile, and much easier to use than GraphQL. There is no particular event related to the lib, except a significant gain in popularity thanks to Theo and hiscreate-t3-appframework.

See you soon for the Docusaurus launch .

Support the newsletter:

If you like this newsletter, subscribe in priority there:

React

Reading Source Code: React

Alex reads the React source code and comments on several parts, taking as an entry point the mount of a React application. Interesting details about the use of prototypes, JSX, and the interaction of the (agnostic) reconciler with the DOM renderer.

Can We All Just Admit React Hooks Were a Bad Idea?

Amy argues that React hooks do not respect SOLID architecture principles. I don't really agree, but recognize that most of the examples found on the internet are simplified and don't necessarily highlight a good architecture.

Applying SOLID principles inReact

Almost a direct answer to the above article, even if the application of SOLID is more widely covered here (components + hooks). Note: don't hesitate to use the React context for dependency injection.

Extras:

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'scutting-edge React frameworkfor 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 thislinkto join.

CSSWeeklyNewsletter

Stay up-to-date with the latest trends inCSSby getting only relevant and valuable articles and tutorials directly into your inbox. Join more than 30,000 developers and sign up now.

React-Native

Hermes as the Default

The JS Hermes engine is an alternative to JSC/V8. It can help your app to start faster via a pre-compilation in bytecode. With React-Native 0.70 (now inrelease candidate), Hermes is enabled by default. Michael shares various benchmarks from the open-source app Mattermost. The Hermes distribution mode has changed to avoid ABI incompatibility issues. Missing Intl APIs have been added on iOS. Upcoming support for BigInt and WeakRef.

What working at Airbnb during its React Native era taught me about web3

Devin goes over the history of React-Native at Airbnb and the very nuanced decision to sunset it He makes the interesting parallel with web3. In the long term, technology potential wins over the pain of early adopters.

Extras:

Other

Vite 3

Vite quickly became a reference in the frontend ecosystem. Today, it is a very good alternative to Create-React-App, with a much faster DX, and some React meta-frameworks are also using it (Storybook, Hydrogen...). v3 comes with a lot of changes, a new doc, starters for various frameworks (including React), improvements on global imports, a new doc... See also theViteConfconference in October.

Extras:

CleanShot 2022-07-19 at 21 09 19@2x


Original Link: https://dev.to/sebastienlorber/this-week-in-react-113-react-source-code-solid-remix-docusaurus-fp-remotion-rapier-hermes-rn-at-airbnb-nme

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To