Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Export not found when lazy load all bundles by react-universal-component

オープン
#219 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, react

調査の方向性

flushChunks の結果を生成する SSR フロー、特に遅延読み込みに使用される scripts パスから始め、ユーザー操作後に追加されたバンドルを react-universal-component がどのように処理するかを追跡します。断続的に発生する「Export not found」エラーを再現し、操作後にそれらのスクリプトを読み込むことでエラーが解消されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

Hello,

I'm using this repo for a long period, and am very satisfied with it's results.
thanks for the awesome work!
Now, while working on performance improvements of our SSR pages, I want to load all bundles only for the active users.
This means that we don't use the "js" property of the "flushChunks" res, but taking the "scripts" from it and after we detect any user interaction with the page- we add it via a script element added to the head of the html.
Let me know if I'm not clear enough so I'll add some code samples.

Our bundles are not changed within this change, but the problem that I see is sometimes when a user interaction was detected, the bundles failed to load with error: "Export not found".

Can you explain what is my issue? How can I fix it?

主要言語
JavaScript
スター
1.7k
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

faceyspacey/react-universal-component のほかの issue

faceyspacey/react-universal-component の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。