This Week In React #183: Vercel Edge, React Native 0.74 + IDE, refs, patching fetch(), Remix Single Fetch...

Sebastien Lorber - May 18 - - Dev Community

Hi everyone!

This week React Native takes the spotlight! But there are also interesting news from Vercel and PRs to take a look at from the React core team.

Earlier this week, I was at React/RN Connection conferences in Paris. It was great to meet some of you there!

The Parisian party is not over. After many years, the great dotJS conference is back in Paris on June 27. They already announced great speakers, including Mark Dalgleish, Malte Ubl, Charlie Gerard, James Q Quick, Ben Lesh... Last regular tickets available, get a 10% discount with my code "TWIR".

Due to the conf, I only had today to work on the newsletter. Thankfully my co-author Benedikt took over and did most of the work this week! ๐Ÿ™

Next week, the newsletter takes a well-deserved break. We'll be back on May 8.


๐Ÿ’ก Subscribe to the official newsletter to receive an email every week!

banner


๐Ÿ’ธ Sponsor

A newsletter helping build your product skills

A newsletter helping build your product skills

Product for Engineersย is PostHogโ€™s newsletter dedicated to helping engineers improve their product skills. Learn what questions to ask users, how to build new features users love, and the path to product market fit.

Subscribe for freeย to get curated advice on building great products, lessons (and mistakes) from building PostHog, and deep dives into the strategies of top startups.


โš›๏ธ React

Vercel reverted all edge rendering back to Node.js

๐Ÿฆ Vercel reverted all edge rendering back to Node.js

Vercelโ€™s VP of Product, Lee Rob, explained on X that Vercel is โ€œreverting all edge rendering back to Node.js.โ€ If youโ€™re using Vercel (and probably even if you donโ€™t), youโ€™ll know that Vercel has pushed โ€œedgeโ€ as a concept for a long time. On the one hand, edge means that compute is run near to where a user accessing a site hosted on Vercel is located. On the other hand, it also means that this compute is run on an โ€œedge runtime,โ€ which is built on V8 and not on Node.js. While the concept of running compute near to the end users sound appealing, the advantages quickly disappear if data needs to be loaded from a central location (which very often is the case). At the same time, development teams are often struggling to adapt workload to the limited subset of APIs available on the edge runtime. Now it seams Vercel has come to the conclusion that overall, the challenges for developers outweigh the limited benefits, and is therefore reverting to centralized Node.js runtimes. I appreciate their transparency around this! If you want more details, Theo made a video about it.



๐Ÿ’ธ Sponsor

NLUX โ€• New React Library To Simplify Adding AI Features

NLUX โ€• New React Library To Simplify Adding AI Features

NLUX is an open-source React library that makes it super simple to integrate powerful large language models (LLMs) like ChatGPT into your web app or website. With just a few lines of code, you can add conversational AI capabilities.

Key features ๐ŸŒŸ include:

  • Build AI Chat Interfaces In Minutes - High quality conversational AI interfaces with a few lines of code.
  • React Components & Hooks - <AiChat /> for UI and useChatAdapter hook for easy integration.
  • Flexible Adapters - For ChatGPT, LangChain and HuggingFace, and an API to Create Your Own Adapter for any backend.
  • Synchronise UI state with AI backends in an optimal way.
  • Markdown Streaming - Render LLM markdown as it's being generated.
  • Zero Dependencies - Lightweight codebase.

More info, examples and documentation on nlux.dev


๐Ÿ“ฑ React-Native

React Native 0.74 released, React Native IDE is now in beta

๐Ÿ“ฆ React Native 0.74 released

This week saw the release of React Native 0.74, a major milestone for the community! The latest version makes โ€œbridgeless modeโ€ the default for new projects using the New Architecture (with the next release, 0.75, the New Arch will become the default, too). Both can still be turned off if needed, but they clearly represent the future of React Native, and over the last months especially, A LOT of libraries have added support for both. But thereโ€™s more: RN 0.74 includes Yoga 3.0. There are very few breaking changes and deprecations, but itโ€™s still worth checking them out in the release notes.

๐Ÿ“ฆ React Native IDE is now in beta

Another exciting news this week is the closed beta for React Native IDE, developed by the team at Software Mansion. You can now sign up to get early access to the IDE. They also have a landing page up now, and the docs are publicly available for anyone curious about it.



๐Ÿ”€ Other


๐Ÿคญ Fun

Vercel updated their logo

Vercel updated their logo

See ya! ๐Ÿ‘‹

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .