react 19にして wrangler deploy したらエラーが出た
Uncaught ReferenceError: MessageChannel is not defined環境
- astro: 5.13.2
- react: 19.1.0
- wrangler 4.33.2
修正
参考ページのissueの通り、wrangler.tomlのcompatibility_dateを更新したら解消された
compatibility_date = "2025-08-15"MessageChannelをcloudflare worker内で定義するようになったらしい。いままではastro adapter内でパッケージなどを通して定義されていた
参考
- ここに全部載っている