#React18
Many reach out about `use-context-selector` for simple render optimization, though it's designed for a slightly different purpose. So, I revisited `useMemo` + `use(Context)` in `react18-use`. With v0.4.0, it works in React 19 too. stackblitz.com/github/dai-s...

Repo: github.com/dai-shi/reac...
January 27, 2025 at 4:16 AM
Agora falou que tão mantendo duas versões dos código, exatamente iguais, mas uma compatível com react18 e outra com react19

Falei que não faz sentido, coisas 18 funcionam no 19, pra não funcionar teria que estar usando mta gambirra

Ele só respondeu que quando tentou não funcionou, então foi assim
December 17, 2025 at 11:50 AM
Looking for volunteers that use @tanstack.com query with suspense. I have a PR that switches from throwing promises to `React.use` (with a shim for React18). Tests pass after changing them 😅.

Try it out pls🙏

npm i pkg.pr.new/@tanstack/re...
ref: switch from throwing promises to React.use by TkDodo · Pull Request #10366 · TanStack/query
Summary by CodeRabbit New Features Added new utilities for improved suspense promise management and fallback handling Improvements Enhanced async query state transitions when using React Sus...
github.com
March 31, 2026 at 5:13 PM
I just released react18-use v0.4.1!

It includes:
- A `use` shim for React 18
- An EXPERIMENTAL useMemo + use combo for React 18 & 19

It's unlikely React will officially adopt this combo, so it's just a proof of concept.

github.com/dai-shi/reac...
GitHub - dai-shi/react18-use: React 19 use hook shim
React 19 use hook shim. Contribute to dai-shi/react18-use development by creating an account on GitHub.
github.com
May 19, 2025 at 2:04 PM
在推特上给由我姐妹案例课程顺便搬运到这儿:吴悠讲编程的React18核心语法也不错,我一般是让AI先给我列出这些前端框架的核心内容,有一个整体的认识之后再去找这类视频来看。吴悠还会对比vue的特性,比如:react的函数式组件默认是没有状态的;与vue的区别,vue可用响应式数据驱动页面内容进行更新。所以react会用useState函数进行状态处理
March 5, 2026 at 6:07 AM
🚀 #ReactNative 0.76 launches with #NewArchitecture by default! Features full #React18 support, improved #performance, type-safe native modules & C++ core. Used in production by #Meta, #Expensify & #Kraken. Ready for your apps! reactnative.dev/blog/2024/10...
New Architecture is here · React Native
React Native 0.76 with the New Architecture by default is now available on npm!
reactnative.dev
October 28, 2024 at 2:30 AM
React 18を(勉強のために?)再実装 / “GitHub - BetaSu/big-react: 跟着我,从0实现React18” htn.to/2J6j1TneyX
GitHub - BetaSu/big-react: 跟着我,从0实现React18
跟着我,从0实现React18. Contribute to BetaSu/big-react development by creating an account on GitHub.
htn.to
April 26, 2024 at 11:14 PM
コネの更新するにあたって諸々の脆弱性対応するため、Node20→24、React18→19、Next14→16、Prisma5→7、TailwindCSS3→4、と、まとめてバージョンアップかけたんだけど、とてつもない仕様変更ばっかで死ぬかと思った…
January 18, 2026 at 2:23 PM
- We have to add a shim for React18
- We have to cache promises on the observer

1% is like 120 bytes!
March 31, 2026 at 8:27 PM
React18+TS 通用后台管理系统解决方案落地实战

资源url:https://pan.quark.cn/s/aefb7b820fdc

海量资源频道:https://t.me/okpojie
海量资源网站:https://www.okpojie.com/
September 19, 2026 at 7:30 PM
<a href="https://qiita.com/Yamamoto1012/items/05c5bc8277e4e030e4eb" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">qiita.com/Yamamoto1...
お嬢様が教えるuseRef() - Qiita
お嬢様が教えるuseRef() - Qiita
教材ShinCodeさんの【完全保存版】React Hooksを完全に理解するHooksマスター講座【React18~19対応】https://www.udemy.com/course/rea…
qiita.com
June 9, 2024 at 2:52 AM
今日のZennトレンド

React 19移行で学んだpnpmの依存関係解決の仕組み
pnpmモノレポ環境でReact19へ移行した際、一部のライブラリがReact18を参照しエラーが発生した事例の報告です。
Viteの依存関係解決の仕組みにより、ライブラリがアプリルートではなく別のパスから旧バージョンを読み込んでいたことが原因でした。
対処としてViteのresolve.dedupe設定を用い、参照先を強制的に統一することで問題を解決しました。
pnpmの構造とViteの解決挙動への理解と、重複排除の設定方法について伝えています。
React 19移行で学んだpnpmの依存関係解決の仕組み
こんにちは、Dress Code でプロダクトエンジニアをしているてちです!少し前にアプリケーションで利用しているReactについて、React18からReact19への移行を行いました。今回は移行で遭遇した不具合について、調査をしていく中で多くの学びがあったので記事にしてみました。!自分なりに調査した内容を書いてますが気になる点あればお気軽にご指摘ください...! React19移行で見つかった
zenn.dev
September 8, 2026 at 11:24 PM
#🔖テクノロジー
React 19移行で学んだpnpmの依存関係解決の仕組み

React19移行で見つかった謎の不具合 pnpm workspaceとViteを使うモノレポで、複数あるReactアプリケーションの一つをReact19に更新しました。他のアプリはReact18のままだったため、両方のバージョンが共存している状態です。 変更後、検証していると謎の不具合に遭遇しました。 React19へ移行したアプリに古いReactが紛...
React 19移行で学んだpnpmの依存関係解決の仕組み
zenn.dev
September 8, 2026 at 10:40 PM
3年前くらいに買ってRailsの経験とか前提にされても知らんわって速攻で読むのやめたやつを今読んでる
ちゃんと読んだら単語としては出てくるけどRailsのこと何も知らなくても読めるしおもしろい

React18と新機能のことも書いてくれてる第4版も出てるみたいだから読み終わったら読む

booth.pm/ja/items/236...
March 27, 2024 at 1:33 PM
ニューヨーク・タイムズがReact16からReact18に移行した話、レンダリング時間が半分になったらしい。
NYTは全部Svelteかと思ってたけどそうではないみたい。

open.nytimes.com/enhancing-th...

ちゃんとライブラリを更新していく金と時間がある現場は羨ましいねぇ。
Enhancing The New York Times Web Performance with React 18
How upgrading to React 18 energized The New York Times website — and how we tackled some of the challenges we faced along the way.
open.nytimes.com
June 30, 2024 at 12:44 AM
今日のZennトレンド

React 19移行で学んだpnpmの依存関係解決の仕組み
pnpm workspaceとViteのモノレポ環境で、React 19への移行時に一部ライブラリがReact 18を読み込み不具合が発生した事例の報告です。
原因はpnpmの依存関係解決の仕組みとViteのimport解決仕様により、ライブラリが意図せず古いバージョンを参照したことでした。
対策として、Viteのresolve.dedupe設定でReactの参照先をプロジェクトルートに統一し、バージョンの混在を解消しました。
React 19移行で学んだpnpmの依存関係解決の仕組み
こんにちは、Dress Code でプロダクトエンジニアをしているてちです!少し前にアプリケーションで利用しているReactについて、React18からReact19への移行を行いました。今回は移行で遭遇した不具合について、調査をしていく中で多くの学びがあったので記事にしてみました。!自分なりに調査した内容を書いてますが気になる点あればお気軽にご指摘ください...! React19移行で見つかった
zenn.dev
September 9, 2026 at 11:07 PM
CVE-2026-48161: CRITICAL RCE risk in dai-shi react18-use — malicious postinstall code executed on dev machines (not npm). Rotate creds, reimage if affected. More: https://radar.offseq.com/threat/cve-2026-48161-cwe-506-embedded-malicious-code-in-dai-shi-react18-use-f46bf3ec395447fd #OffSeq #Supply...
CVE-2026-48161: CWE-506: Embedded Malicious Code in dai-shi react18-use
CVE-2026-48161 describes a supply chain attack in the react18-use package where malicious commits were introduced on the default branch between 2026-05-19 01:07:01 and 15:20:43. These commits added a postinstall script (src/install.js) that
radar.offseq.com
August 11, 2026 at 12:00 AM
CVE-2026-48161 - react18-use was vulnerable to malicious code execution via compromised commits
CVE ID : CVE-2026-48161

Published : Aug. 10, 2026, 11:16 p.m. | 43 minutes ago

Description : react18-use is a React 19 use hook shim. Between 2026-05-19 01:07:01 and 2026-05-1...
CVE-2026-48161 - react18-use was vulnerable to malicious code execution via compromised commits
react18-use is a React 19 use hook shim. Between 2026-05-19 01:07:01 and 2026-05-19 15:20:43, the default branch contained malicious commits 7b79148d1495a2505f9277da295a98cf176f4496 through 7b79148d1495a2505f9277da295a98cf176f4496 that executed remote attacker-controlled code on developer machines during `npm install`. The commits were removed by force-push, but local clones, forks, and direct-SHA URLs may still contain …
cvefeed.io
August 11, 2026 at 12:39 AM
🚨 EUVD-2026-55848
📊 9.3/10
🏢 dai-shi

📝 react18-use is a React 19 use hook shim. Between 2026-05-19 01:07:01 and 2026-05-19 15:20:43, the default branch contained malicious commits 7b79148d1495a...

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-55848

#cybersecurity #infosec #cve #euvd
August 10, 2026 at 11:01 PM
CVE-2026-48161 - react18-use
A malicious code was introduced into a React 19 use hook shim through compromised commits, which could execute on developer machines during npm install. If you used this…

Too many irrelevant or confusing CVEs? Use stackflag.com

#react18use #daishi #CVE #infosec
CVE-2026-48161: React 19 Use Hook Shim Malicious Code Execution via Compromised Commits
A malicious code was introduced into a React 19 use hook shim through compromised commits, which could execute on developer machines during npm install.
stackflag.com
August 10, 2026 at 11:24 PM
B站卡颂React18从0实现教程:源码实战与核心原理

资源url:https://pan.quark.cn/s/57abfef7263d

海量资源频道:https://t.me/okpojie
海量资源网站:https://www.okpojie.com/
July 21, 2026 at 4:30 PM
更に更に

昨今react18の世界では、Suspenseの台頭により、useXXXでデータが取れてないならPromiseをthrowしていく世界になるでしょう

その時、Suspenseはそのchildの中でthrowされたPromiseじゃないとfallbackしませんので
July 22, 2023 at 3:52 PM